[fpc-pascal] windows.GetProcAddress() vs DynLibs.GetProcAddress()

Ewald ewald at yellowcouch.org
Mon Jan 13 21:25:27 CET 2014


On 13 Jan 2014, at 17:33, Fred van Stappen wrote:

> Hello and many thanks to help.
> 
> Here demo to show the problem (i hope).
> 
> >> https://sites.google.com/site/fiensprototyping/dynlib_vs_windows.zip


in the dynlibs version, why do you use `PChar(1)` or `PChar(2)` [or ....] instead of the name of the function as the second argument in GetProcAddress()? Perhaps try `GetProcAddress(LibHandle,  'soundtouch_clear');` on line 54 and modify the rest in a similar fashion?

Hope it helps.

--
Ewald

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140113/2dfb84f8/attachment.html>


More information about the fpc-pascal mailing list