AutoCAD Crash

AutoCAD Crash

wesbird
Collaborator Collaborator
878 Views
1 Reply
Message 1 of 2

AutoCAD Crash

wesbird
Collaborator
Collaborator

Hi

  I'm working a program to create my ribbon on the fly with runtime ribbon api on AutoCAD 2010 which works fine. 

  Today AutoCAD 2010 crashed,

  Error message: 

 

    "AutoCAD Error Aborting

    FATAL Error: Unhandled e0434f4dh Exception at 7c812a6bh"

 

 

   "AutoCAD Error Aborting    FATAL Error: Unhandled e0434f4dh Exception at 7c812a6bh"  

  so I comment the autoload in registry, AutoCAD 2010 still crash. then I start my AutoCAD 2011, close it and start my AutoCAD 2010, 50% will be OK. 

  since my dll is not loaded, then where is the problem come from? 

 

  Thank you so much for your time. 

 

 

 

Wes

 

 

 

Windows 10 64 bit, AutoCAD (ACA, Map) 2023
0 Likes
879 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

use this:

Try

''' ALL your code stuff here

 

Catch ex as SYSTEM.Exception

  msgbox ex.tostring

End Try

 

put that around your initial command code that starts the whole thing and you may just catch the exception yourself.  Also note the use of SYSTEM.Exception.  When working with AutoCAD, there is also an AutoCAD Exception object that tends to over power the system.exception, so many errors don't get caught.

 

Good luck.

 

jvj

0 Likes