Thread: Help with DX

  1. #1
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434

    Help with DX

    I have directx installed on the system, but when i ry to fun programs it keeps saying Error, cannot init Direct3D.

    I tried installing and reinstalling DX but it's still not working =(

    Anyone have any suggestions?


    Thanks!
    "Anyone can aspire to greatness if they try hard enough."
    - Me

  2. #2
    Captain - Lover of the C
    Join Date
    May 2005
    Posts
    341
    That's most likely a problem with the program, not the DirectX installation. I'm guessing that when the program fails when it tries to create the D3DDevice or something. It handles the error by displaying that message box and then exiting.
    Don't quote me on that... ...seriously

  3. #3
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434
    I dunno maybe... That makes me worry cause its a program from the book i just bought, maybe i'll be making a return (Beginning DirectX 9).

    My game that always used to work does'nt work anymore either though, Counter-Strike.

    Somethings wrong i just cant figure out what.
    "Anyone can aspire to greatness if they try hard enough."
    - Me

  4. #4
    Captain - Lover of the C
    Join Date
    May 2005
    Posts
    341
    If well tested games like Counter-Strike are not working then I change my previous statement. Now it sounds like the DirectX installation has a problem. You might try uninstalling DirectX and installing DirectX (9). Make sure you are installing the End-User Runtime which I'm guessing you are.
    Don't quote me on that... ...seriously

  5. #5
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434
    How do i uninstall it though? I cant seem to find where to do that
    "Anyone can aspire to greatness if they try hard enough."
    - Me

  6. #6
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    Simply put, you don't uninstall DirectX. Run dxdiag and do the full diagnostics, it has helped me a couple times in the past. Also, update your video drivers and make sure you have DirectX 9.0c from the Microsoft Website, installing DirectX off a game/driver CD can have errors with the CD, just easier to eliminate that being a possible cause. You can always just install over it with the web version.

  7. #7
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434
    dxdiag says everythings fine ???

    I'm confused =P
    "Anyone can aspire to greatness if they try hard enough."
    - Me

  8. #8
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    Grab DirectX 9.0c from microsoft.com and install it, even if you think you have that version already. Also double check your drivers are up to date.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. DX or OpenGL?
    By michaelp in forum Game Programming
    Replies: 31
    Last Post: 01-10-2008, 06:26 PM
  2. Checking for DX in setup and deployment in MSVS 05 .NET
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-15-2006, 03:32 PM
  3. Assembly Tutorials
    By JoshR in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 06-11-2005, 09:56 AM
  4. Having some trouble setting up Dev-c++ for DX
    By Iamien in forum Game Programming
    Replies: 7
    Last Post: 08-25-2003, 07:30 PM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 06:05 PM