Thread: cannot find pdb file/injection of runtime library failed

  1. #1
    Registered User
    Join Date
    Jun 2012
    Posts
    1

    cannot find pdb file/injection of runtime library failed

    Dear all,
    My program works fine. When I start Visual Studio 2010's profiler (through the wizard) I get a messagebox: "Could not launch <app.exe>. Injection of runtime library failed." When not using the profiler the Debug Output window tells me that:
    Code:
    'HelloWorld.exe': Loaded 'C:\Windows\System32\igdumd32.dll', Cannot find or open the PDB file
    
    This happens when my program calls
    Code:
    Direct3DCreate9(D3D_SDK_VERSION)
    So, I think this has something to do with directx9. The location of igdumd32.dll is in c:/drivers/intel/vga and I have an Intel 945 Express Chipset Family Card. Is there a place to get a pdb for this igdumd32.dll? or should I switch to using directx 8 functions for me to be able to use the VS2010-profiler?
    Last edited by methodos; 06-07-2012 at 09:49 AM.

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    PDB are for debug only. They are not used in release mode which is the mode your video card manuf. released their drivers in. Profiling Direct3D through MSVS is not a good idea. For accurate profiling and how to profile Direct3D check the SDK. There is an entire section devoted to profiling Direct3D applications.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What is a Runtime Library in C/C++
    By thavali in forum C++ Programming
    Replies: 13
    Last Post: 04-12-2011, 01:05 AM
  2. Stuio 2008 Changes to runtime library
    By Mario F. in forum C++ Programming
    Replies: 1
    Last Post: 08-03-2009, 07:33 AM
  3. link with C runtime library
    By George2 in forum C++ Programming
    Replies: 26
    Last Post: 02-05-2008, 01:56 AM
  4. runtime library option
    By George2 in forum C Programming
    Replies: 1
    Last Post: 11-30-2007, 08:45 AM
  5. A runtime library error on this line???
    By Unimatrix_001 in forum C++ Programming
    Replies: 2
    Last Post: 09-04-2003, 03:42 PM