ExclamationC++ error

Posts 1–2 of 2 · Page 1 of 1
C++ error
1>------ Build started: Project: sds, Configuration: Debug Win32 ------
1> stdafx.cpp
1> dllmain.cpp
1> sds.cpp
1>sds.obj : error LNK2005: _DllMain@12 already defined in dllmain.obj
1>c:\users\mpc\documents\visual studio 2010\Projects\sds\Debug\sds.dll : fatal error LNK1169: one or more multiply defined symbols found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


What should i do?
Haha, the complier tells you what is wrong:

Code:
error LNK2005: _DllMain@12 already defined in dllmain.obj
Why you just take a look to your "DllMains". Or maby you just include your main file some where else
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?