x64 Link Issues - Can someone please help?
Vladimir Panteleev
vladimir at thecybershadow.net
Thu Apr 18 17:53:27 PDT 2013
On Friday, 19 April 2013 at 00:24:27 UTC, Trey Brisbane wrote:
> As you can see, there appears to be an issue with my usage of
> WinMain() as opposed to just main(). For 32bit building, the
> documentation states that the compiler recognizes WinMain and
> works accordingly - is this also the case for 64bit building?
The entry point for DLLs is the DllMain function, not WinMain.
I'm not sure why building a DLL with a WinMain entry point would
succeed - I'd assume the resulting DLL wouldn't work.
In the future, consider posting questions on how to use D to the
digitalmars.D.learn group.
More information about the Digitalmars-d
mailing list