Message 1 of 8
FATA error when saving custom object
Not applicable
09-24-2012
02:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi.
I have derived an object from AcDbEntity. whenever the save command is issued in debug time, I get this exception :
"First-chance exception at 0x000007fefd6faa7d in acad.exe: Microsoft C++ exception: _com_error at memory location 0x2c2fea00.."
the callStack breaks at:
> KernelBase.dll!000007fefd6faa7d()
and dissassembly at this:
"000007FEFD6FAA7D 48 81 C4 C8 00 00 00 add rsp,0C8h "
The problem leads to this error when running autoCAD out of debugging environment:
"FATAL ERROR: Unhandled Access violation reading 0xffffffff exception at 77521e02h"
I have put break points at dwgOutFields() method of the custom class and the exception occurres after passing the control to the caller.
Thank you in advance.![]()

