[fpc-devel]FPC 1.0.8 - dont load many DLL
Zbigniew Kuczbanski
zbyszek at pixel.pl
Thu Jun 12 08:55:30 CEST 2003
Hi,
I download new version FPC 1.0.8 (05-06-2003) from FTP for Win32.
I need use FPC to create DLL for Win32 system and load many DLL in one
apllication.
And I have problem, because only fist DLL is load correctly. Next DLL I cant
load.
What is wrong? Is any workaround thhis problem.
I attach example code, two DLL's and one application.
Eatch DLL creates log file and write to file "dllx.log" text "DLLx is
loaded."
Sample DLL have names "Dll1.pas" and "DLL2.pas"
Sample program have name "testDLL.pas"
When I compile this program use Delphi, both DLL load correctly.
Any sugestions?
Best regards
Zbigniew Kuczbanski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testdll.pas
Type: application/octet-stream
Size: 326 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20030612/84729d31/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dll2.pas
Type: application/octet-stream
Size: 212 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20030612/84729d31/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dll1.pas
Type: application/octet-stream
Size: 212 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20030612/84729d31/attachment-0002.obj>
More information about the fpc-devel
mailing list