Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Importing TLB with RadStudio XE2, windows 10 64-bit



Permlink Replies: 0
Dominik Dorfmei...

Posts: 1
Registered: 4/27/08
Importing TLB with RadStudio XE2, windows 10 64-bit
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 16, 2016 2:22 AM
Hi everyone,

I am having trouble importing a type library with RadStudio XE2. The Component in question is a 3rd party library called PDFLib (PDFlib 9.0.1 64-bit).
I was successfully able to create a TLB before, but after upgrading to Windows 10, I cannot import Type Libraries anymore.

I receive the following error:
"Error when importing TypeLibrary":
[500D0584]{rtl160.bpl } System.Win.ComObj.OleCheck (Line 1473, "System.Win.ComObj.pas" + 1) + $0
[21396E93]{tlib160.bpl } TlbUtils.LoadTypeLibrary (Line 406, "TlbUtils.pas" + 11) + $2
[213ABB7B]{tlib160.bpl } TypeLib.TTypeLibrary.Create (Line 8013, "TypeLib.pas" + 16) + $8
[513C7D60]{comcore160.bpl} OCXGen.CreateUnit (Line 75, "OCXGen.pas" + 3) + $D
[500431C5]{rtl160.bpl } System.TInterfacedObject._AddRef (Line 30122, "System.pas" + 1) + $3
[516E2651]{delphicompro160.bpl} DelphiTraits.TDelphiImportComponentTrait.ImportTLB (Line 109, "DelphiTraits.pas" + 4) + $19
[5141696F]{comcore160.bpl} ImportComponentWizard.TImportComponentWizard.Finish (Line 543, "ImportComponentWizard.pas" + 118) + $23
[2085057D]{coreide160.bpl} Wizard.TWizard.Show (Line 933, "Wizard.pas" + 24) + $17
[51416300]{comcore160.bpl} ImportComponentWizard.CreateImportComponent (Line 331, "ImportComponentWizard.pas" + 15) + $5
[5141C07C]{comcore160.bpl} ComStdReg.TComMenus.DoImportComponentExecute (Line 118, "ComStdReg.pas" + 0) + $4
[500B533B]{rtl160.bpl } System.Classes.TBasicAction.Update (Line 13380, "System.Classes.pas" + 1) + $6
[5031B705]{vcl160.bpl } Vcl.ActnList.TContainedAction.Execute (Line 448, "Vcl.ActnList.pas" + 8) + $2C
[5031C4F0]{vcl160.bpl } Vcl.ActnList.TCustomAction.Execute (Line 1094, "Vcl.ActnList.pas" + 7) + $8
[500B51FF]{rtl160.bpl } System.Classes.TBasicActionLink.SetAction (Line 13306, "System.Classes.pas" + 1) + $5
[21734D6D]{vclactnband160.bpl} Vcl.ActnMenus.TCustomActionMenuBar.ExecAction (Line 1076, "Vcl.ActnMenus.pas" + 6) + $D
[217365E4]{vclactnband160.bpl} Vcl.ActnMenus.TCustomActionMenuBar.TrackMenu (Line 1842, "Vcl.ActnMenus.pas" + 19) + $15
[21739F1E]{vclactnband160.bpl} Vcl.ActnMenus.TCustomActionMainMenuBar.TrackMenu (Line 3636, "Vcl.ActnMenus.pas" + 5) + $3
[2173492D]{vclactnband160.bpl} Vcl.ActnMenus.TCustomActionMenuBar.CMItemClicked (Line 955, "Vcl.ActnMenus.pas" + 3) + $4
[5033280D]{vcl160.bpl } Vcl.Controls.TControl.WndProc (Line 7204, "Vcl.Controls.pas" + 91) + $6
[5033715B]{vcl160.bpl } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[50332448]{vcl160.bpl } Vcl.Controls.TControl.Perform (Line 6982, "Vcl.Controls.pas" + 10) + $8
[5033701E]{vcl160.bpl } Vcl.Controls.TWinControl.WndProc (Line 9933, "Vcl.Controls.pas" + 109) + $1D
[5033715B]{vcl160.bpl } Vcl.Controls.TWinControl.WndProc (Line 9976, "Vcl.Controls.pas" + 152) + $6
[5003D4F7]{rtl160.bpl } System.TMonitor.TryEnter (Line 14786, "System.pas" + 10) + $0
[5003D06C]{rtl160.bpl } System.TMonitor.Enter (Line 14489, "System.pas" + 4) + $2
[5003CF10]{rtl160.bpl } System.TMonitor.CheckOwningThread (Line 14411, "System.pas" + 2) + $0
[5003D216]{rtl160.bpl } System.TMonitor.Exit (Line 14600, "System.pas" + 9) + $7
[217366FA]{vclactnband160.bpl} Vcl.ActnMenus.TCustomActionMenuBar.WndProc (Line 1881, "Vcl.ActnMenus.pas" + 25) + $4
[503367B0]{vcl160.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9689, "Vcl.Controls.pas" + 3) + $6
[500B6030]{rtl160.bpl } System.Classes.MakeObjectInstance (Line 13921, "System.Classes.pas" + 0) + $0
[504525E7]{vcl160.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10164, "Vcl.Forms.pas" + 23) + $1
[5045262A]{vcl160.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10194, "Vcl.Forms.pas" + 1) + $4
[5045295D]{vcl160.bpl } Vcl.Forms.TApplication.Run (Line 10331, "Vcl.Forms.pas" + 26) + $3

I also tried a new PDFLib version (PDFlib 9.0.6p3 64-bit), but I get the same error.

Any help would be appreciated.

Thanks,
TkDodo
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02