Hello,

i asked this at the higher languages forum, but got no responses...

i'm making my game as a dll with the A6.31.4 plugin sdk and it's working well. but when i try to update to the new A6.40 plugin SDK i get a strange break when running with the VisualStudio2003 debugger:
"unhandled exception: User breakpoint"

note that it compiles and links without any problems and with the A6.31.4 SDK it runs perfectly well.
this happens when i use media_ functions to play video. after the video is finished (maybe when unloading the media player libraries?), i get this break.
i made a test with the engine SDK as well, that's only:

(...)
engine_open(NULL);
engine_frame();
media_play("video.avi", NULL, _VAR(100));
while(engine_frame());
engine_close();

the video plays correctly, but I still get the same break.

also, when the break happens the output window in visual studio, with this test above and with my game, accuses:
"first-chance exception at 0x... in test.exe : 0xC0000005 Access violation writing location 0x000000".

i need to use the updated version of the engine because of the improvements in the c_move function, but i need to know what is this problem and if it can be fixed.

thanks for your help,
Filipe

Note: when i run the same test directly from the .exe file, outside of the debugger, it doens't give any errors, but i need to know if this could be a symptom of a bigger problem.