I seem to get this error message for each model I load. It happens in any project I make and I don't know where it comes from. The program still works completely fine, it is just annoying to have to click on 100 message boxes for each model I load.
Here is a simple code snippet, it gives me the error message.
#include "DarkGDK.h"
void DarkGDK ( void )
{
dbSetDisplayMode(640, 480, 16);
dbSyncOn();
dbSetDir("data/");
dbLoadObject("object/mesh.x", 1);
while ( LoopGDK ( ) )
{
char str [ 128 ];
sprintf_s( str, 128, "FPS: %d", dbScreenFPS( ) );
dbText( 0, 0, str );
dbSync();
}
return;
}
The "data" folder is in the main program folder, and the folder "object" is in the folder "data"
Any and all help would be very appreciated.