buggy entry point while making dll

DJ Delorie dj@delorie.com
Tue Jul 17 17:26:00 GMT 2001


The problem is this:

        gcc -shared --dll mydll.o --entry DllMain -o mydll.dll

Your entry point should be DllMain@12 or _DllMain@12 (I don't remember
if gcc adds the underscore for you or not).



More information about the Binutils mailing list