Thread: D3D Help

Results 1 to 5 of 5
  1. #1
    ostisgood's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Noway
    Posts
    38
    Reputation
    10
    Thanks
    71
    My Mood
    Busy

    D3D Help

    Hello there! : )
    I have just started to learn D3D, so i'm using a not working base, but im trying to fix it.

    I have fixed much errors, but i have one left that i can't figure out:
    Code:
    error LNK2019: unresolved external symbol _D3DXCreateFontA@48 referenced in function "long __stdcall nBeginScene(struct IDirect3DDevice9 *)" (?nBeginScene@@YGJPAUIDirect3DDevice9@@@Z)
    Thanks for any help


    If you need adresses for Combat Arms EU PM me
    ostisgoodformpgh@hotmail.no
    Yes .NO!

    Quote Originally Posted by topblast View Post

    I DONT MAKE JOKES. I Just Said I dont like People
    Quote Originally Posted by fvestrgenrl View Post
    okay... do you just put this code in notepad and save as .dll?

  2. #2
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    link with d3dx9.lib

    I asume you know how to do that =P
    Ah we-a blaze the fyah, make it bun dem!

  3. #3
    mwb1234's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    460
    Reputation
    7
    Thanks
    65
    Quote Originally Posted by Hell_Demon View Post
    link with d3dx9.lib

    I asume you know how to do that =P
    lol it took me and why06 like 1 hour and 30 minutes of teamview to get it working on my computer... The problem? My compiler wasn't linked right

  4. #4
    ostisgood's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Noway
    Posts
    38
    Reputation
    10
    Thanks
    71
    My Mood
    Busy
    Quote Originally Posted by Hell_Demon View Post
    link with d3dx9.lib

    I asume you know how to do that =P
    You mean like this?

    #pragma comment(lib,"d3dx9.lib")


    If you need adresses for Combat Arms EU PM me
    ostisgoodformpgh@hotmail.no
    Yes .NO!

    Quote Originally Posted by topblast View Post

    I DONT MAKE JOKES. I Just Said I dont like People
    Quote Originally Posted by fvestrgenrl View Post
    okay... do you just put this code in notepad and save as .dll?

  5. #5
    schim's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My chair
    Posts
    367
    Reputation
    10
    Thanks
    114
    My Mood
    Twisted
    Quote Originally Posted by ostisgood View Post
    You mean like this?

    #pragma comment(lib,"d3dx9.lib")
    That's exactly how you do such a thing

    If that doesn't work (it didn't work out for me that way
    Try including the whole path e.g. #pragma comment(lib,"C:\\directxsdk\\lib\\x86\\d3dx9.lib")

    Or somthing like that

Similar Threads

  1. [Help] C++ CA EU D3D Help
    By HardOwned in forum Combat Arms Europe Hacks
    Replies: 13
    Last Post: 12-01-2009, 11:12 AM
  2. C++/D3D Help
    By breeze in forum CrossFire Hacks & Cheats
    Replies: 15
    Last Post: 05-04-2009, 10:21 AM
  3. VB 2008 d3d help
    By deve48 in forum Visual Basic Programming
    Replies: 7
    Last Post: 02-05-2009, 01:10 AM
  4. D3d Help.
    By josephjboogie3 in forum C++/C Programming
    Replies: 1
    Last Post: 01-13-2008, 04:57 PM
  5. D3d Help!
    By nukeist_ in forum C++/C Programming
    Replies: 0
    Last Post: 01-02-2008, 08:05 PM