Hi.
I am trying to write a simple program in C++ to create a model, add a few equations, and then retrieve them
using SW's equation manager API. Although the manual explains how to use the API functions/interfaces,
I am not clear on how to go about creating a project using Visual C++ 6.0 that does not result in premature
compilation errors as it is not able to find the type libraries (in spite of specifying the full path next to #import).
Could anyone point me to a resource that has a detailed description of a similar project written in VC++?
Thanks,
SN
SolidworksApi macros
Are you using add-ins or stand alone application?
If you are using add-in install the SDK and use the VS template.
Thanks. The issue was that I am using Visual C++ 6.0, which apparently has an internal bug
while including large macros such as ones used to import type libraries.
It was fixed by installing a patch (VS service pack 6).