To
Ryan
Heres how I set mine up...
1. Download Microsoft .NET framework 2.0
2. Download the latest DirectX updates (DirectX 9.0c)
3. Download the Microsoft Platform SDK
4. Download Direct X SDK (latest version)
5. Download DarkGDK (was this one patronising lol? sorry)
Then I opened Visual Studio 2005, went to
Tools - Options - Projects and Solutions - VC++ Directories - In the Show Directories drop down - Include - and added...
1. ..\Microsoft Platform SDK\Include
2. ..\DirectX SDK\Include
3. ..\DarkGDK\Include
Then changed Show Directories drop down to Library Files and added...
1. ..\Microsoft Platform SDK\Lib
2. ..\DirectX SDK\Lib\x86
3. ..\DarkGDK\Lib\VS8
Then start a new Project... In the Visual C++ list you want to pick
Win32 - Win32 Project. Give it a name and hit Ok. When the wizard opens hit next, then under
Additional Options check Empty Project.
Add your .CPP source file, then paste the example code...
#include "DarkGDK.h"
void DarkGDK ( void )
{
dbSyncOn ( );
while ( LoopGDK ( ) )
{
dbSync ( );
}
}
Save it, then goto
Project - <Project Name> Properties - Configuration Properties - C/C++ - Code Generation - Run Time Library - Multi-threaded (/MT)
You should then be able to hit Build and Run the project.
Sorry if you have done all this and it has been no help, but there is no reason to need to be able to recompile the provided libraries so I am guessing there is a dodgy setting somewhere along the way. I'm able to compile in both debug and release mode with out recompiling any thing.
Hope I've helped!
Andy