[fpc-devel]FPC 1.0.8 - dont load many DLL
Peter Vreman
peter at freepascal.org
Thu Jun 12 16:59:15 CEST 2003
At 08:55 12-6-2003, you wrote:
>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?
Here is no problem:
C:\down>testdll
DLL1 is loaded
DLL2 is loaded
Peter
More information about the fpc-devel
mailing list