Interfacing with Solid Works API in C++

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