Am 14.01.2014 12:04 schrieb "Marco van de Voort" <mar...@stack.nl>:
>
> In our previous episode, Sven Barth said:
> >
> > Maybe an overload could be added to load functions by ordinal on Windows
> > and which simply returns Nil on other platforms.
>
> I thought the index feature originated in win3.x and was mostly considered
> deprecated by MS?

Names are optional while ordinals are not. If you look for example at
urlmon.dll or shlwapi.dll then you'll see quite some functions that are
exported by ordinal only (FPC can't do that as it always adds at least a ''
name). Also MSDN nowhere mentions that the NONAME attribute for Def files
is deprecated.
(also import by ordinal is slightly faster)

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to