I have just got the SDK and I've encountered some problems.
I am getting lots of "Identifier not found"'s on random commands.
The code I'm using is:
// tests.cpp : The main entrypoint for the application.
//
#include "DarkSDK.h"
#include "resource.h"
#include "stdio.h"
#include "stdlib.h"
#include "io.h"
void DarkSDK (void)
{
dbSyncOn();
dbSyncRate(0);
// TODO: Place init code here
int mx;
int my;
// loop until the escape key is pressed
while (LoopSDK())
{
if (dbEscapeKey())
{
break;
}
dbSync();
mx = dbMousex();
my = dbMousey();
dbCircle( mx , my , 3 );
}
}
The error report is:
------ Build started: Project: tests, Configuration: Release Win32 ------
Compiling...
tests.cpp
tests.cpp(28) : error C3861: 'dbMousex': identifier not found, even with argument-dependent lookup
tests.cpp(29) : error C3861: 'dbMousey': identifier not found, even with argument-dependent lookup
Build log was saved at "file://c:\Documents and Settings\Sally walker\My Documents\Visual Studio Projects\tests\Release\BuildLog.htm"
tests - 2 error(s), 0 warning(s)
---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped