3 Replies Latest reply on Apr 15, 2013 4:22 AM by Artem Taturevych

    DestroyNotify does fire with SW2012 but not with SW2010

    Robin Staes



      I use visual studio 2010 to make a Solidworks add in. The add in creates a taskpane in Solidworks. When i close SW2012 with my application running OnSLDClose is called. When I do the same in SW2010 OnSLDClose is not called. Does anyone have an idea how to solve this problem?


      • SwEventPtr = (SolidWorks.Interop.sldworks.SldWorks)iSwApp;
      • SwEventPtr.DestroyNotify += new DSldWorksEvents_DestroyNotifyEventHandler(OnSLDClose);


      Kind regards