[fpc-pascal] Re: stdcall vs. cdecl: another "using a FPC-generated .dll with Microsoft Visual C++" question
sethdgrover at gmail.com
Fri Mar 26 13:26:19 CET 2010
> Not exactly on topic, but I'm curious why you want to link statically
> like this and not dynamically. AFAIK, VS can call LoadLibrary and
> GetProcAddress just fine.
You're right, it can. The product the company I work for produces is a
shared library, and I'm just looking into and making sure that our
.dll is usable in as many was by as many platforms as possible. If a
customer wants to link statically, I'd like to be able to have that
FWIW, I've just gone through and updated our .pas/.h headers to
interface with our .so/.dll to use cdecl in both UNIX and Windows and
it seems to work fine.
This email is fiction. Any resemblance to actual events
or persons living or dead is purely coincidental.
More information about the fpc-pascal