Building 32bit program with MSVC?

Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat May 31 15:51:51 PDT 2014


On Sat, 31 May 2014 07:53:40 +0000
Kagamin via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:

> By dynamic linking do you mean LoadLibrary or linking with import
> library?

Both will work, otherwise we couldn't use Microsoft's libraries - e.g.
std.windows.registry uses advapi32.dll to talk to the registry. But static
linking requires that the library formats match. However, I'm afraid that I
don't know enough about how linking works to know why that's a problem for
static linking and not for dynamic linking.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list