Having trouble

Posts 17 of 7 · Page 1 of 1
Having trouble
i have a code im working on and im almost complete except for one thing....

i keep getting this!
1>------ Build started: Project: hAcK, Configuration: Debug Win32 ------
1> hAcK.cpp
1>hAcK.obj : error LNK2005: _DllMain@12 already defined in dllmain.obj
1>c:\users\aaron\documents\visual studio 2010\Projects\hAcK\Debug\hAcK.dll : fatal error LNK1169: one or more multiply defined symbols found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

anyone care to help?
Quote Originally Posted by CWTT10 View Post
i have a code im working on and im almost complete except for one thing....

i keep getting this!
1>------ Build started: Project: hAcK, Configuration: Debug Win32 ------
1> hAcK.cpp
1>hAcK.obj : error LNK2005: _DllMain@12 already defined in dllmain.obj
1>c:\users\aaron\documents\visual studio 2010\Projects\hAcK\Debug\hAcK.dll : fatal error LNK1169: one or more multiply defined symbols found
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

anyone care to help?
STOP POSTING A BUNCH OF SHIT
BECAUSE YOUR FUCKING PUT THE SAMETHING IN 2 TIMES READ THE ERROR
oh ur cool... degrade someone whose just trying to learn... i know what it says asshole.. i just cant find it! i re-re-re-read over the files and didnt find where anything was repeated!!! and i couldnt find the dllmain.obj but thanks for the help jackass!
lol well look in the dllmain for it thank you very much
/Moving to Coding Help Section
Post source/partial.
Post what compiler you are using.
Check your includes and globals to see if you are including files twice.
Have you tried googling the error? ...

It's saying that dll main already exists in Dllmain.cpp

Lrn2read wannabe coders.
"Specifically targetting @Ixxz && @L80mans"
Please don't post false info without reading the error fully.

Just delete that file and you're all good to go.
@CWTT10


Warning to @L80mans
If you are caught flaming another member about their small knowledge of C++ actions will be taken against you.
You started off like this, you had even stupider questions so don't go 'round flaming newbies thinking you're top shit.
Posts 17 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?