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

Sven Barth pascaldragon at googlemail.com
Tue Jan 14 16:50:06 CET 2014


Am 14.01.2014 09:24 schrieb "Sven Barth" <pascaldragon at googlemail.com>:
> Maybe an overload could be added to load functions by ordinal on Windows
and which simply returns Nil on other platforms.

I've now added an overload which is implemented for the Windows systems and
returns Nil on other targets.

For Delphi compatibility we should maybe also add a PAnsiChar overload for
GetProcAddress so that existing code could safely use "PAnsiChar(1)".

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140114/9ebe1e88/attachment.html>


More information about the fpc-pascal mailing list