Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. DirectX Init problem

DirectX Init problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpvisual-studiographicsgame-dev
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Andy Hunter
    wrote on last edited by
    #1

    I am using DirectX 9 with VS.Net 2002. When I call the Direct3DCreate9 macro I recieve an unresolved external error when the project links. I have included the platform sdk lib and include files as part of my .net setup and they are both at the top of the list. I am unsure of why I am recieving this error. Any help will be much appreciated.

    V 1 Reply Last reply
    0
    • A Andy Hunter

      I am using DirectX 9 with VS.Net 2002. When I call the Direct3DCreate9 macro I recieve an unresolved external error when the project links. I have included the platform sdk lib and include files as part of my .net setup and they are both at the top of the list. I am unsure of why I am recieving this error. Any help will be much appreciated.

      V Offline
      V Offline
      Verolix
      wrote on last edited by
      #2

      Did you include d3d9.lib? If that doesn't help, include d3dx9.lib.

      A 1 Reply Last reply
      0
      • V Verolix

        Did you include d3d9.lib? If that doesn't help, include d3dx9.lib.

        A Offline
        A Offline
        Andy Hunter
        wrote on last edited by
        #3

        Thankyou for the help. Evidently I wasn't including the libraries in the right area in the project setup. Once I moved everything over to the additional dependencies area it all seemed to work out. I appreciate the help.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups