Direct3D startup code fails outside of MSVS

This is a discussion on Direct3D startup code fails outside of MSVS within the Game Programming forums, part of the General Programming Boards category; For some reason my Direct3D init code is failing outside of Visual Studio. I can run Debug and Release versions ...

  1. #1
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,586

    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 05: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, 09: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-15-2002, 11:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21