Message 1 of 1
AutoCAD Mechanical 2004 - acmStdMgr->getCurrent()
Not applicable
08-25-2004
06:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
i don't understand why the partref sample work and my project don't.
if i try this code in my own ARX : ( this code comes from partref sample )
AcDbObjectId stdId;
if (acmStdMgr->getCurrent(stdId) != Acm::eOk)
return;
acmStdMgr->getCurrent( ... ) simply generate an exception ... ??
acmStdMgr may not be initialised ??? Why ???
the only difference from the partref sample project is that my ARX is built
with the ARX Wizard and use COM Object ...
I have no idea where the problem could come from ...
I have no compilation error and no link error ...
The ARX is well loaded by AutoCAD Mechanical ...
thanks for all your advises.