Sorry, I have been gone for a while.
I tried to recreate the Problem, this is what I get:
When I run the code below (A7.86.6) the program does not compile properly, it crashes ("acknex.exe hat ein Problem festgestellt und musste beendet werden") leaving the acklog.txt in the following state:
Log of A7 Engine 7.86.6 run at Fri Nov 11 16:26:25 2011
Micha on Windows NT/2000/XP version 5.1 Build 2600
Options SchedulerTest.c -diag -tc
App: H:\ArtTools\3DGS\GStudio7\acknex.exe in H:\ArtWork\3DGS\Test\SchedulerList\
MM mixer opened
DSOUND device opened
DI interface opened
Start Window opened
(c) Conitec - Dieburg - San Diego - www.3dgamestudio.com
A7 Engine - Pro Edition V7.86.6 - Aug 7 2010
Development version
Registered to: Micha Pfeiffer
DI Microsoft-PC-Joysticktreiber 4 axes 12 buttons initialized
Mouse found
Joystick found
Realtek HD Audio output opened
NVIDIA GeForce 9800 GT pure T&L device 1ff9 detected
D3D device NVIDIA GeForce 9800 GT 1ff9 selected.
acknet.dll opened
ackwii.dll opened
t7.dll opened
Compiling SCHEDULERTEST.C - [Esc] to abort....
And here's the code:
#include <default.c>
#include <acknex.h>
#define NDEBUG
void debugFct(char* funct);
#ifdef NDEBUG
#define wait(i) do{char *funct; engine_gettaskinfo(0, &funct, NULL); debugFct(funct); wait(i); } while(0)
#endif
void debugFct(char* funct) {
diag(funct);
}
void loopFunctions() {
int i = 0;
while(1) {
diag("\n");
diag(str_for_num(NULL, i));
wait(1);
i+= 1;
}
}
int main() {
wait(3);
loopFunctions();
wait(3);
sys_exit("");
}