[fpc-pascal] windows.GetProcAddress() vs DynLibs.GetProcAddress()
Michael Van Canneyt
michael at freepascal.org
Mon Jan 13 11:58:21 CET 2014
On Mon, 13 Jan 2014, Fred van Stappen wrote:
> Hello.
>
> I have a external dll. In Windows i can access perfectly the procedures with
> GetProcAddress() if i use Windows unit.
>
> If i use DynLibs unit, prog crash when i try to load the procedure.
> I prefer to use DynLibs unit because i want to use the dll for Linux too (of course with library.so).
>
> I have try, in linux to access the procedure with DynLibs too but same crash than for Windows.
> What must i do to access procedure with DynLibs ?
Can you be more specific ? What error do you get ? Can show some code ?
Michael.
More information about the fpc-pascal
mailing list