There's far too many causes for those types of errors for me or
anyone to tell you anything about how to solve the problem, knowing
little or nothing about the code.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2009
Supporting AutoCAD 2000 through 2009
http://www.acadxtabs.com
Introducing AcadXTabs 2010:
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm
wrote in message news:6141064@discussion.autodesk.com...
Hi Tony, I am experiencing ACAD crashes randomly. But mostly on close of
file. I have developed a ARX module which uses .NET GUIs to interact with
users. I registered the command which will launch these GUI with flag
"ACRX_CMD_TRANSPERENT | ACRX_CMD_SESSION ". Then I perform some operation of
the drawing files. Like opening, setting attributes, saving etc. But ACAD
crashes mostly when I close any opened file. It gives "Unhandled access
violation" errors. I have put try catch blocks at most of the places but
nothing gets caught. Feeling like I am lost! Can you please give some help
on this? Few questions: 1. If I have modal dialog boxes then too I have to
register command which will launch them as ACRX_CMD_SESSION? 2. If I create
AcDbDabase object(as AcDbDatabase* pDb = new AcDbDatabase(false, true)) &
then readDwgFile() to read a drawing file which is not opened in ACAD. Then
how can I manage locking unlocking of it? Or locking/unlocking is possible
on opened documents only? Thanks a lot and desperately waiting for your
helping hand! Prashant.