Author Topic: some question with AcAxObjectRefPtr  (Read 1554 times)

0 Members and 1 Guest are viewing this topic.

xys1995

  • Guest
some question with AcAxObjectRefPtr
« on: March 15, 2011, 10:59:01 PM »
I created a custom object,I want get the object's property, but when I use the IOPMProper​tyExpander​ class,
AcAcObjectRefPtr<myobj> myObj(&m_objRef, AcDb::kForRead);
if(myObj.openStatus!=acad::eOk)
     return E_ACCESSDENIED;
I debug this return,the object is not open,Why? help me!