[fpc-pascal] windows.GetProcAddress() vs DynLibs.GetProcAddress()
Ludo Brands
ludo.brands at free.fr
Fri Jan 17 15:34:12 CET 2014
On 01/17/2014 03:16 PM, Fred van Stappen wrote:
>
> I run nm and find the name of the procedures ( PS : without nm-Ewald's tip, you must be a high soothsayer to find it)
> For example, a C called procedure : soundtouch_getVersionString() becomes : _ZN10soundtouch10SoundTouch16getVersionStringEv() !!!
>
The _ZN10soundtouch10SoundTouch16getVersionStringEv name mangling
suggests that this is a C++ lib, not a C lib. Generally speaking, you
can't call C++ libs from fpc.
Ludo
More information about the fpc-pascal
mailing list