Results 1 to 3 of 3
  1. #1
    phyleodacosta's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Jakarta,Indonesia
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Sad

    Question Anyone Help me Plz :( how to fix this

    Code:
    1>------ Build started: Project: D3D, Configuration: Release Win32 ------
    1>deadhellbase.obj : error LNK2001: unresolved external symbol _Direct3DCreate9@4
    1>deadhellmenu.obj : error LNK2001: unresolved external symbol "public: char * __thiscall cMenu::TIME(void)" (?TIME@cMenu@@QAEPADXZ)
    1>D:\ABANG\Hasil Pembuatan D3D\D3D\Release\D3D.dll : fatal error LNK1120: 2 unresolved externals
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    I've tried to add in header
    # pragma comment (lib, "d3d9.lib")
    # pragma comment (lib, "d3dx9.lib")

    but still
    deadhellbase.obj: error LNK2001: unresolved external symbol _Direct3DCreate9 @ 4
    and which is still error
    deadhellmenu.obj: error LNK2001: unresolved external symbol "public: char * __ thiscall CMenu :: TIME (void)" (? TIME @ @ @ QAEPADXZ CMenu)

  2. #2
          ( ° ͜ʖ͡°)╭∩╮
    Former Staff
    MarkHC's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    2,750
    Reputation
    66
    Thanks
    14,529
    My Mood
    Angelic
    Obviously.. the compiler can't find the definition of the function.. The first one is from the DirectX SDK.. so including the .libs should solve the problem I guess... Try to reinstall the DX SDK. The second function is causing error cause you forgot to copypasta its definition. See? that's why leeching is bad.


    CoD Minion from 09/19/2012 to 01/10/2013

  3. #3
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    Simple solution is to not leech.

    If you want to learn, please read this: https://www.mpgh.net/forum/31-c-c-pro...e-hacking.html
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

Similar Threads

  1. Anyone know how to fix this crap.
    By BigSean in forum Alliance of Valiant Arms (AVA) Help
    Replies: 6
    Last Post: 06-02-2012, 08:41 PM
  2. How to fix this, anyone know ??
    By doci in forum Alliance of Valiant Arms (AVA) Help
    Replies: 4
    Last Post: 02-19-2012, 03:31 PM
  3. [Help Request] how i fix this???
    By sk8mark11 in forum Combat Arms Help
    Replies: 7
    Last Post: 05-13-2011, 02:59 PM
  4. can someone help me or show me how to fix this
    By jackal9006 in forum Combat Arms Coding Help & Discussion
    Replies: 10
    Last Post: 02-21-2011, 09:12 AM
  5. Help Please! You Must Know How To Fix This!
    By xweetok59 in forum C++/C Programming
    Replies: 4
    Last Post: 07-05-2009, 07:51 AM

Tags for this Thread