ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

0xC0000005 invalid exception handling....

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
318 Views, 2 Replies

0xC0000005 invalid exception handling....

Debugging my arx program in AutoCAD 2008/ 2009. Have someone a solution?

Thank's in advance
Alessandro Casadei
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

That's usually a memory buffer overrun error. Double check all of your
memory allocation and make sure that if you are allocating memory for an
ACHAR that you multiply the length by the sizeof ACHAR ... szBuff = (ACHAR
*) malloc( _tcslen( szOriginal ) * sizeof( ACHAR ) + sizeof( ACHAR )); ...
the last sizeof( ACHAR ) is for the terminating 0.

Joe

"Alessandro" wrote in message
news:6062352@discussion.autodesk.com...
Debugging my arx program in AutoCAD 2008/ 2009. Have someone a solution?

Thank's in advance
Alessandro Casadei
Message 3 of 3
Anonymous
in reply to: Anonymous

Alessandro:

> Debugging my arx program in AutoCAD
> 2008/ 2009. Have someone a solution?

Set your debugger to break on the exception and check what is causing it.
:)
--
Owen Wengerd
President, ManuSoft <>
VP Americas, CADLock, Inc. <>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report