[fpc-devel] Problem with importtl

gabor gabor at poczta.onet.pl
Sun Sep 6 17:47:41 CEST 2020


I try to import a type library using "importtl" but it fails - ends with 
EAccessViolation exception. I am using fpc trunk from today. I have 
tried importing different libraries but with no success. Could someone 
confirm the problem?

d:\fpcupdeluxetrunk\fpc\bin\i386-win32>importtl 
C:\Windows\SysWow64\OICFiscalPrinterLib.ocx
Reading typelib from C:\Windows\SysWow64\OICFiscalPrinterLib.ocx ...
An unhandled exception occurred at $00423718:
EAccessViolation: Access violation
   $00423718  TYPETOSTRING,  line 354 of winunits-base/src/typelib.pas
   $00423D16  TYPETOSTRING,  line 427 of winunits-base/src/typelib.pas
   $00424617  INTERFACEDECLARATION,  line 582 of 
winunits-base/src/typelib.pas
   $004292BA  CREATEINTERFACES,  line 1437 of winunits-base/src/typelib.pas
   $0042B374  DOIMPORTTYPELIB,  line 1821 of winunits-base/src/typelib.pas
   $0042BE32  EXECUTE,  line 1971 of winunits-base/src/typelib.pas
   $00422B8E  IMPORTTYPELIB,  line 188 of winunits-base/src/typelib.pas
   $00401EA8  main,  line 103 of importtl/importtl.pas

MichaƂ.


More information about the fpc-devel mailing list