6 Replies Latest reply: Mar 8, 2012 12:17 PM by TheDollarBill RSS

    [CS5]csxs::event is not  being register in  PostStartupPlugin()

    DeepAlone Community Member

      Hi All,

       

      I was looking in FreeGrid Plugin that uses flex for UI.To do so it register the csxs events (for communication b/w flex panel and c++ plug-in) in PostStartupPlugin().

      here is the code..

       

      ///Start

      ASErr FreeGridPlugin::PostStartupPlugin()

      {

      if(csxs::event::kEventErrorCode_Success == freeGridDialogController->RegisterCSXSEventListeners())

           fIsRegistered = true;

       

      return kNoErr;

      }

      //End

      But it is not being registered here.

      It also put the same code in handling the