AnsweredAssumed Answered

Solidworks Standalone - Unable to cast Com object SldWorksClass to Interface ISldworks

Question asked by Michael Corriveau-Cote on Aug 17, 2018
Latest reply on Aug 20, 2018 by Michael Corriveau-Cote

Hi everyone!


Quite new with this way of@ doing. I normally build Addins with Solidworks. For this project , there are no reason for it to be an addin. It makes more sense for it to be a standalone application. Here's my problem :


        /// <summary>
        /// </summary>
        /// <returns></returns>
        static public SldWorks Connect2Solidworks()
            return new SolidWorks.Interop.sldworks.SldWorks();


SldWorks Syntax.PNG


2018-08-18 UPDATE : Still a problem


Maybe Artem Taturevych can help me with this one too!