Thread: Need help!!

Results 1 to 3 of 3
  1. #1
    kainoa's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    67
    Reputation
    10
    Thanks
    12
    My Mood
    Devilish

    Need help!!

    Intro: been taking C++ for a few months so i have some knowledge pretty basic.

    first off the /OPT:NOWIN98 ive tried /FORCE:MULTIPULE

    im using the latest SDK (june 2010) and VC++ 2008

    i need help this will not compile due to 9 error(s), 3 warning(s)

    any help would be great!!!

    Code:
    Linking...
    d3dbase.obj : warning LNK4229: invalid directive '/OPT:NOWIN98' encountered; ignored
    d3dfont9.obj : error LNK2005: "public: long __thiscall CD3DFont::DrawTextA(float,float,unsigned long,char const *,unsigned long)" (?DrawTextA@CD3DFont@@QAEJMMKPBDK@Z) already defined in d3dbase.obj
    d3dfont9.obj : error LNK2005: "public: long __thiscall CD3DFont::GetTextExtent(char const *,struct tagSIZE *)" (?GetTextExtent@CD3DFont@@QAEJPBDPAUtagSIZE@@@Z) already defined in d3dbase.obj
    d3dfont9.obj : error LNK2005: "public: long __thiscall CD3DFont::DeleteDeviceObjects(void)" (?DeleteDeviceObjects@CD3DFont@@QAEJXZ) already defined in d3dbase.obj
    d3dfont9.obj : error LNK2005: "public: long __thiscall CD3DFont::InvalidateDeviceObjects(void)" (?InvalidateDeviceObjects@CD3DFont@@QAEJXZ) already defined in d3dbase.obj
    d3dfont9.obj : error LNK2005: "public: long __thiscall CD3DFont::RestoreDeviceObjects(void)" (?RestoreDeviceObjects@CD3DFont@@QAEJXZ) already defined in d3dbase.obj
    d3dfont9.obj : error LNK2005: "public: long __thiscall CD3DFont::InitDeviceObjects(struct IDirect3DDevice9 *)" (?InitDeviceObjects@CD3DFont@@QAEJPAUIDirect3DDevice9@@@Z) already defined in d3dbase.obj
    d3dfont9.obj : error LNK2005: "public: __thiscall CD3DFont::~CD3DFont(void)" (??1CD3DFont@@QAE@XZ) already defined in d3dbase.obj
    d3dfont9.obj : error LNK2005: "public: __thiscall CD3DFont::CD3DFont(char const *,unsigned long,unsigned long)" (??0CD3DFont@@QAE@PBDKK@Z) already defined in d3dbase.obj
    d3dmenu.obj : warning LNK4229: invalid directive '/OPT:NOWIN98' encountered; ignored
    hackbase.obj : warning LNK4229: invalid directive '/OPT:NOWIN98' encountered; ignored

  2. #2
    matypatty_backup's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    20
    My Mood
    Paranoid
    is the project set to use multi-byte character set?

  3. #3
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,103
    Reputation
    16
    Thanks
    646
    My Mood
    Cold
    Your missing the functions you have defined in your class...

Similar Threads

  1. [Help Request] Need Help
    By shane11 in forum CrossFire Help
    Replies: 49
    Last Post: 05-03-2011, 05:29 AM
  2. [Help Request] Need help finding a Vindictus injector
    By VpChris in forum Vindictus Help
    Replies: 2
    Last Post: 05-01-2011, 11:51 PM
  3. [Help Request] need help with mod
    By .:MUS1CFR34K:. in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 05-01-2011, 01:40 PM
  4. [Help Request] I need help~~!!!!
    By c834606877 in forum Alliance of Valiant Arms (AVA) Help
    Replies: 1
    Last Post: 05-01-2011, 02:12 AM
  5. [Help Request] need help with modding
    By BayBee Alyn in forum Combat Arms Help
    Replies: 0
    Last Post: 04-27-2011, 10:06 PM