Hey everyone,
I'm trying to create a Solidworks Standalone Application. After many attempts, i can't seems to create a Solidworks instance. either it fails (error) or swApp is null.
<p> /// <summary></p><p><span> /// </span><a _jive_internal="true" href="https://forum.solidworks.com/www.codestack.net/solidworks-api/getting-started/stand-alone" rel="nofollow" target="_blank" data-community-id="1">https://www.codestack.net/solidworks-api/getting-started/stand-alone/</a></p><p> /// </summary></p><p> /// <returns></returns></p><p> static public SldWorks Connect2Solidworks()</p><p> {</p><p> SolidWorks.Interop.sldworks.SldWorks swApp= new SolidWorks.Interop.sldworks.SldWorks();</p><p> return swApp;</p><p></p><p></p><p> //SldWorks swApp = Activator.CreateInstance(Type.GetTypeFromProgID("SldWorks.Application")) as SldWorks;</p><p> //return swApp;</p><p></p><p></p><p> //return Activator.CreateInstance(Type.GetTypeFromProgID("SldWorks.Application.24")) as SldWorks;</p><p> }</p>