TheSwamp

Code Red => ARX Programming => Topic started by: sshri on April 12, 2012, 05:26:57 AM

Title: AcEditorReactor Hangs Briscad 12
Post by: sshri on April 12, 2012, 05:26:57 AM
Hello,

I am using BRX 12, with VS 2005, SP1

Since AcDbDoubleClickEdit was not working, I have been
trying to get a simple AcEditorReactor with beginDoubleClick working...

Even the simplest code is crashing Briscad...
Please help...


//---------------------------------------------------------------------
class CDblClickReactor : public AcEditorReactor
{
public:
    ACRX_DECLARE_MEMBERS(CDblClickReactor);
   CDblClickReactor(){};
   virtual ~CDblClickReactor(){};

public:
    // messages that are sent by notification
    virtual void   beginDoubleClick(const AcGePoint3d&)
   {
      acutPrintf(_T("\nGot DoubleClick"));
   }
};
Title: Re: AcEditorReactor Hangs Briscad 12
Post by: It's Alive! on April 12, 2012, 10:15:44 AM
do you need to call acrxBuildClassHierarchy(); ?