First of all - the VC++ compiler (when I click DEBUG) Says no Debug info - So no stepping through code I presume? DarkGDK seems to have symbols removed.
Then - using the DarkGDK sample program in the CHM help file:
#include "DarkGDK.h"
void DarkGDK ( void )
{
dbSyncOn ( );
while ( LoopGDK ( ) )
{
dbSync ( );
}
}
I get the following errors - though the application runs. (Note I have the DarkGDK GDK_120307 Patch installed and The recommended DirectX SDK and Platform SDK: (Warning lots of error messages)
'Testing.exe': Loaded 'D:filescodeVCXDarkGDKdebugTesting.exe', Binary was not built with debug information.
'Testing.exe': Loaded 'C:WINDOWSsystem32ntdll.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32kernel32.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32winmm.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32user32.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32gdi32.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32advapi32.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32rpcrt4.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32d3dx9_31.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32msvcrt.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32d3d9.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32d3d8thk.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32version.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32dinput8.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32dsound.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32ole32.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32msacm32.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32usbmn2x2.dll', Binary was not built with debug information.
'Testing.exe': Loaded 'C:WINDOWSsystem32vct3216.acm', No symbols loaded.
'Testing.exe': Unloaded 'C:WINDOWSsystem32vct3216.acm'
'Testing.exe': Loaded 'C:WINDOWSsystem32uxtheme.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32msctf.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32d3d9d.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32d3dx9d_31.dll', No symbols loaded.
D3D9 Helper: Enhanced D3DDebugging disabled; Application was not compiled with D3D_DEBUG_INFO
Direct3D9: (INFO) :======================= Hal HWVP device selected
Direct3D9: (ERROR) :BeginScene, already in scene. BeginScene failed.
'Testing.exe': Loaded 'C:WINDOWSsystem32hid.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32setupapi.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32wintrust.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32crypt32.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32msasn1.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32imagehlp.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32ntmarta.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32wldap32.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32samlib.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32wdmaud.drv', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32msacm32.drv', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32midimap.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32ksuser.dll', No symbols loaded.
Direct3D9: (ERROR) :BeginScene, already in scene. BeginScene failed.
'Testing.exe': Loaded 'C:WINDOWSsystem32mslbui.dll', No symbols loaded.
'Testing.exe': Loaded 'C:WINDOWSsystem32oleaut32.dll', No symbols loaded.
The thread 'Win32 Thread' (0xd90) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xe5c) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0x8cc) has exited with code 0 (0x0).
The thread 'Win32 Thread' (0xffc) has exited with code 0 (0x0).
Direct3D9: (ERROR) : [0] : Address 0A82D4CB
Direct3D9: (ERROR) : [1] : Address 0A82D59B
Direct3D9: (ERROR) : [2] : Address 0A82D440
Direct3D9: (ERROR) : [3] : Address 0A821D44
Direct3D9: (ERROR) : [4] : Address 4FDFAF2E
Direct3D9: (ERROR) : [5] : Address 0040A1E3
Direct3D9: (ERROR) : [6] : Address 0040A153
Direct3D9: (ERROR) : [7] : Address 00403A51
Direct3D9: (ERROR) : [8] : Address 0040111B
Direct3D9: (ERROR) : [9] : Address 00401340
Direct3D9: (ERROR) : [10] : Address 00401243
Direct3D9: (ERROR) : [11] : Address 004011EB
Direct3D9: (ERROR) : [12] : Address 0045E450
Direct3D9: (ERROR) : [13] : Address 0045E19D
Direct3D9: (ERROR) : [14] : Address 7C816FD7
Direct3D9: (ERROR) : [15] : Address 00000000
.. REPEATS many times more or less ...
Direct3D9: (ERROR) : [0] : Address 0A839A18
Direct3D9: (ERROR) : [1] : Address 0A858B2B
Direct3D9: (ERROR) : [2] : Address 0A860A1B
Direct3D9: (ERROR) : [3] : Address 0040CA7A
Direct3D9: (ERROR) : [4] : Address 0040C773
Direct3D9: (ERROR) : [5] : Address 00401714
Direct3D9: (ERROR) : [6] : Address 00404273
Direct3D9: (ERROR) : [7] : Address 004011A3
Direct3D9: (ERROR) : [8] : Address 00401015
Direct3D9: (ERROR) : [9] : Address 0045E450
Direct3D9: (ERROR) : [10] : Address 0045E19D
Direct3D9: (ERROR) : [11] : Address 7C816FD7
Direct3D9: (ERROR) : [12] : Address 00000000
Direct3D9: (ERROR) : [13] : Address 00000000
Direct3D9: (ERROR) : [14] : Address 00000000
Direct3D9: (ERROR) : [15] : Address 00000000
The program '[4040] Testing.exe: Native' has exited with code 0 (0x0).
If this many Direct3D9 errors are occuring in the most simple program, how efficient is my program going to be if DirectX API is constantly dealing with these kinds of errors and handling them the best way it can? That is overhead. Hopefully this is just my PC's config or something - though I doubt it. I've followed all the help and suggestions etc.
Most disconcerting is the first error with regards to BeginScene already started. Does DarkGDK call this twice?
This is puzzling to me - and a bit frustrating admittedly.
[edit] I took this to VS2003 - Where the option to "Start DirectX Debugging" is available - and the same error messages more or less show up. Now the application runs - but something is going on that probably shouldn't. Still Stumped. (Was hoping the "Compiled without Debug symbols" thing was part of my problem - but it isn't. I can not step though code and I'm a bit worried about lots of unneccessary code being run within DirectX api because of a flaws. I hope the flaws are my own because I can fix em ... sometimes
Jason P Sage
Know way too many languages - Master of none