Marco van de Voort wrote:
In our previous episode, Adriaan van Os said:
I am cross compiling with fpc svn trunk and -Twin32 on i386 Mac OS X to Win32. This works fine,
except that {$linklib xxx.dll} says
dlls are usually not $linklib'ed in FPC. What happens if you simply omit the
linklib?
Well, then the linker complains about unresolved symbols.
Does that mean that LoadLibrary and GetProcAddress must be called for all
external dll calls ?
Anyway, the "not found" message is confusing. I suggest a clarification in the section about
{$linklib} in the Free Pascal Programmer’s Guide that only static libraries can be linked.
Thanks for your reply.
Regards,
Adriaan van Os
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal