This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: buggy entry point while making dll



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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]