Message 1 of 3
switching to modelspace, Acad crashes

Not applicable
09-11-2002
04:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have the following code in my app:
AcDbLayoutManager *pLayout=acdbHostApplicationServices()->layoutManager();
pLayout->createLayout("dcsLayout",layoutId,layoutBlkRecId);
pLayout->setCurrentLayoutId(layoutId);
and all is fine and dandy. Later I call this section of code to return to
modelspace:
acdbHostApplicationServices()->workingDatabase()->setTilemode(1);
and Acad crashes with eWasOpenForWrite. What was open for write? I don't
think I have anything to close...
Thanks.
AcDbLayoutManager *pLayout=acdbHostApplicationServices()->layoutManager();
pLayout->createLayout("dcsLayout",layoutId,layoutBlkRecId);
pLayout->setCurrentLayoutId(layoutId);
and all is fine and dandy. Later I call this section of code to return to
modelspace:
acdbHostApplicationServices()->workingDatabase()->setTilemode(1);
and Acad crashes with eWasOpenForWrite. What was open for write? I don't
think I have anything to close...
Thanks.