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

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 :

        ///

        /// https://www.codestack.net/solidworks-api/getting-started/stand-alone/

        ///

        ///

        static public SldWorks Connect2Solidworks()

        {

            return new SolidWorks.Interop.sldworks.SldWorks();

        }

2018-08-18 UPDATE : Still a problem

Maybe ​ can help me with this one too!

SolidworksApi/macros