Author Topic: AcEditorReactor Hangs Briscad 12  (Read 2439 times)

0 Members and 1 Guest are viewing this topic.

sshri

  • Guest
AcEditorReactor Hangs Briscad 12
« 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"));
   }
};

It's Alive!

  • BricsCAD
  • Needs a day job
  • Posts: 6963
  • AKA Daniel
Re: AcEditorReactor Hangs Briscad 12
« Reply #1 on: April 12, 2012, 10:15:44 AM »
do you need to call acrxBuildClassHierarchy(); ?