Direct3d

Ok so I finished chapter 2 in Beginning Game Programming Fourth Edition without a snag and got the window I was supposed to come up with, a window with lots of Cs flying around.

Chapter 3 however, is where one initializes Direct3d for the first time and my code is correct Visual Studio creates an EXE but when I click on the EXE nothing happens no window shows up much less the one it was supposed to produce.

and that's when I put in the header for multibyte character set in the cpp but when the header isn't there I get the below mentioned error messages with no EXE.

It's a weird problem to have any insight how to fix this is appreciated.





'Win32Project18.exe' (Win32): Loaded 'C:\Users\adamh\Documents\Visual Studio 2013\Projects\Win32Project18\Debug\Win32Project18.exe'. Symbols loaded.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\lpk.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usp10.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp120d.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcr120d.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d9.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d8thk.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
'Win32Project18.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file.
The program '[9324] Win32Project18.exe' has exited with code 0 (0x0).
Last edited on
What project ? Windowed or FullScreen?

What version of Visual Studio do you use?

I downloaded the examples and both run on my VS 2013 CE from within VS and also the exe on it's own..
VS 2013

windowed version.
It's a bit strange. I compiles in Debug mode but not in release mode.

Try a complete rebuild.
I did complete rebuild.

There is no more Cannot find or open any whatever PDB file.

It does generate an exe but when I click on it, still nothing happens. x.x
What happens when to try to run it inside VS?
Those aren't errors. Those are log messages. The debugger cannot find debug information associated with system shared libraries, because Microsoft does not ship debug builds with its OS. Don't worry about it, it happens to everyone.

Your issue is elsewhere. We cannot help you if you do not provide some code and more information. Luckily you have the most state-of-the-art C++ debugger at your disposal. Figure out where it crashes and inspect some values.
Topic archived. No new replies allowed.