I\'m attempting to link a static library in C++ using Visual Studio 2010. Trouble is, the library (and accompanying header ) have a lot of MFC objects in them. I would like to c
For example if you have want ot call timeGetTime and you have a reason not to include mmsystem.h because of some conflicts, you can do this:
extern "C" DWORD WINAPI timeGetTime(void); #pragma comment(lib, "winmm.lib")