Thread: Having trouble

Results 1 to 7 of 7
  1. #1
    CWTT10's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    42
    Reputation
    10
    Thanks
    2
    My Mood
    Angry

    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?

  2. #2
    L80mans's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    136
    Reputation
    10
    Thanks
    155
    My Mood
    Blah
    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

  3. #3
    CWTT10's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    42
    Reputation
    10
    Thanks
    2
    My Mood
    Angry
    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!

  4. The Following 2 Users Say Thank You to CWTT10 For This Useful Post:

    flameswor10 (11-03-2011),J (11-03-2011)

  5. #4
    L80mans's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    136
    Reputation
    10
    Thanks
    155
    My Mood
    Blah
    lol well look in the dllmain for it thank you very much

  6. #5
    Alessandro10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,140
    Reputation
    215
    Thanks
    4,607
    My Mood
    Busy
    /Moving to Coding Help Section

  7. #6
    Ixxz's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    102
    Reputation
    13
    Thanks
    23
    My Mood
    Fine
    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? ...

  8. #7
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love

    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.
    Last edited by flameswor10; 11-03-2011 at 04:59 AM.
    No I do not make game hacks anymore, please stop asking.

  9. The Following 2 Users Say Thank You to flameswor10 For This Useful Post:

    CWTT10 (11-08-2011),J (11-03-2011)

Similar Threads

  1. For the people that are having trouble with the chams...
    By someguy876 in forum Combat Arms Hacks & Cheats
    Replies: 5
    Last Post: 08-31-2008, 10:57 PM
  2. Having trouble making hacks.
    By -DarkX- in forum Combat Arms Hacks & Cheats
    Replies: 7
    Last Post: 08-30-2008, 03:36 PM
  3. IF your having trouble
    By nighthawk3 in forum Combat Arms Hacks & Cheats
    Replies: 12
    Last Post: 08-13-2008, 06:26 PM
  4. having trouble with my sig
    By Paroxysm in forum Suggestions, Requests & General Help
    Replies: 6
    Last Post: 04-11-2008, 02:10 PM