I inherited a substantial amount of code, including a visual studio project that is supposed to (as best as I can tell) build a .lib file. Visual studio says \"... Generating C
In the DLL project, put __declspec(dllexport) beginnings of methods defined in .h and .cpp files.
__declspec
After all, compile your dll again, so .lib file will be generated and ready for linking.
put Class Foo { public: __declspec(dllexport) int GetFoo() const;