Thread: Direct3D startup code fails outside of MSVS

  1. #1
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607

    Direct3D startup code fails outside of MSVS

    For some reason my Direct3D init code is failing outside of Visual Studio. I can run Debug and Release versions from inside of MSVS but not as a standalone EXE.

    I'm not sure at what point this started happening but it is probably related to my new card. However I'm sure this was working on my current video card before.

    When I attempt to use DXTrace() inside of the failed section it reports absolutely nothing. No file or anything and the error is Unspecified error. Thanks a lot DXTrace.

    This leads me to think something else is going on that may be related to my drivers.

    Any ideas?

    EDIT:

    Never mind I fixed it. I forgot I started grabbing the setup information from an INI file. The INI file was not in the same folder as the EXE so it died. Inside MSVS it works because of the folder structure and project properties.
    Last edited by VirtualAce; 12-23-2007 at 06:58 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Proposal: Code colouring
    By Perspective in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 05-14-2007, 07:23 AM
  2. Choosing a compiler
    By pushingsquares in forum Game Programming
    Replies: 27
    Last Post: 12-14-2006, 10:33 AM
  3. Explain this C code in english
    By soadlink in forum C Programming
    Replies: 16
    Last Post: 08-31-2006, 12:48 AM
  4. Need help with getting DirectX 9.0 initilization
    By DarkMortar in forum Windows Programming
    Replies: 7
    Last Post: 05-09-2006, 08:58 PM
  5. Replies: 4
    Last Post: 01-16-2002, 12:04 AM