|
[A6.40SDK]unhandled exception: User breakpoint
#81291
07/13/06 21:47
07/13/06 21:47
|
Joined: May 2005
Posts: 338 Brasil
Filipe
OP
Senior Member
|
OP
Senior Member
Joined: May 2005
Posts: 338
Brasil
|
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.
|
|
|
Re: [A6.40SDK]unhandled exception: User breakpoint
[Re: jcl]
#81293
07/14/06 13:07
07/14/06 13:07
|
Joined: May 2005
Posts: 338 Brasil
Filipe
OP
Senior Member
|
OP
Senior Member
Joined: May 2005
Posts: 338
Brasil
|
Hello,
i don't think i could be using a debug version of DirectX, because i never had the DirectX SDK in this computer... i'm not sure how to check the directX debug settings... i checked the directX diag tool, the directX version sais DirectX 9.0c (4.09.0000.0904), all the directx files say 'commercial' under attributes, and all the directX tests pass (direct3D, directDraw, directSound and DirectMusic).
what worries me the most is the message on the output window that sais "Access violation writing location 0x000000". This happens with the test code above, so the problem can't be in my code, right? could it be something wrong with my directX installation that the diag tool didn't catch? or with my Media Player installation?
Thanks for your help, Filipe
|
|
|
Re: [A6.40SDK]unhandled exception: User breakpoint
[Re: jcl]
#81295
07/14/06 16:00
07/14/06 16:00
|
Joined: Feb 2003
Posts: 6,818 Minot, North Dakota, USA
ulillillia
Senior Expert
|
Senior Expert
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
|
Or try an uncompressed AVI. This frees up the use of codecs, but the file size gets much bigger. I have some samples you could try to see if it's the codec (free download). This is one of them (note: double-zipped AVI - unzip twice). As to checking the DirectX debug thing, try running system information: start > programs > accessories > system tools > system information Try searching there or go to the tools menu to check the DirectX stuff.
"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip
My 2D game - release on Jun 13th; My tutorials
|
|
|
Re: [A6.40SDK]unhandled exception: User breakpoint
[Re: ulillillia]
#81298
07/17/06 17:13
07/17/06 17:13
|
Anonymous
Unregistered
|
Anonymous
Unregistered
|
Quote:
Or try an uncompressed AVI. This frees up the use of codecs, but the file size gets much bigger. I have some samples you could try to see if it's the codec (free download). This is one of them (note: double-zipped AVI - unzip twice).
As to checking the DirectX debug thing, try running system information:
start > programs > accessories > system tools > system information
Try searching there or go to the tools menu to check the DirectX stuff.
As for DirectX Diagnostics, you can go to Start menu, click Run, and type in
Code:
dxdiag.exe
and press Enter to launch DirectX Diagnostics. This is just a shortcut for getting to DirectX Diagnostics quickier without opening up System Information.
|
|
|
|