I've reported that this error exists in every beta since after 7.10.
here is a basic example, that crashes under anything after 7.10 but works
perfectly in 7.10. I compiled and tested in borland c++ to confirm the error was not in delphi. so if this doesn't compile i'm sure you're capable of making the necessary changes to compile it in vs c++.
you say that it works for you, are using a lite_c test or a c++ test against acknex.dll?
#include <windows.h>
#include adll.h
ENGINE_VARS *ev;
COLOR theColor;
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
ev = engine_open(NULL); // <= crash here
engine_frame(); // wait until level loaded
theColor.blue = _VAR(100);
theColor.green = _VAR(100);
theColor.red = _VAR(100);
draw_textmode("Times",_VAR(3),_VAR(20),_VAR(100));
while (engine_frame())
{
draw_text("You are running the engine!",_VAR(300),
_VAR(150),&theColor);
}
engine_close();
return 0;
}