Thread: Basic Code

  1. #1
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735

    Basic Code

    I just discovered that the basic DirectX initiliziation code provided in The Zen of Direct3D Game Programming doesn't work on my windows ME machine, but it works on my XP. What might I do to fix this, and specifically, I am interested in a version that would be compatible with all windows versions 98 and up.

  2. #2
    ---
    Join Date
    May 2004
    Posts
    1,379
    is your directx updated on your winme machine?

  3. #3
    Registered User
    Join Date
    Jun 2003
    Posts
    361
    I believe it would most likely be something to do with the version of DirectX on the machine, before the operating system. Are you sure you have the most up to date (or atleast, the version you are trying to compile) properly installed on your Windows ME machine?

    (Just out of curiosity, DirectX8 or DirectX9?)

    EDIT: Ah, beat to it
    Last edited by Epo; 02-28-2005 at 11:00 PM.
    Pentium 4 - 2.0GHz, 512MB RAM
    NVIDIA GeForce4 MX 440
    WinXP
    Visual Studio .Net 2003
    DX9 October 2004 Update (R.I.P. VC++ 6.0 Compatability)

  4. #4
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Direct3DCreate() is all you should need to get the system running. After that you simply initialize a few structures (namely to register the class with Windows) and you should be ok.

  5. #5
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    That doesn't appear to be the problem, as I have the same version of the SDK on both computers. Also, I forgot to mention this, it compiles fine and everything but simply flashes on and off the screen really fast when I run it. Any more advice?
    Thanks

  6. #6
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    What is your actual version of directX, not directX sdk? To check this go to start->run, type dxdiag and click ok. Then check for a version.

  7. #7
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    XP: 9.0b
    ME: 9.0c
    I ran the tests on ME and all passed. Anyways, the DirectX runtime thing is bundled with the SDK I think. Have any of you ever tried the code on ME or is this just speculation? I think my programming friend had the same problem too.
    Thanks,
    MadCow

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Visual Basic Code Help
    By Slinger137 in forum Windows Programming
    Replies: 9
    Last Post: 01-04-2009, 10:26 AM
  2. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 04:28 AM
  3. Seems like correct code, but results are not right...
    By OmniMirror in forum C Programming
    Replies: 4
    Last Post: 02-13-2003, 01:33 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM
  5. Replies: 4
    Last Post: 01-16-2002, 12:04 AM