2 Replies Latest reply on Mar 21, 2018 6:23 PM by Matthew Lee

    C++ standalone template not working

    Matthew Lee

      So I'm trying to make a C++ standalone application using the Solidworks API for school, and I've been running into a lot of issues. I've been trying to use Visual Studio Community (first 2015, then 2017) to compile the example code given by Solidworks and it is seemingly reading sldworks.tlb and swconst.tlb without giving me any errors but _TCHAR, CComPtr, ISldWorks, and swApp are undeclared. Searching for this same error I've found that the problem might be the version of visual studio I have installed so I am installing the professional edition with a hell of a lot of extra packages and hoping that fixes the error. Is there anything else I should try? Including more libraries?