I am using a makefile system with the pvcs compiler (using Microsoft Visual C++, 2008 compiler) and I am getting several link errors of the form:
error LNK2019: unresolved external symbol __imp__RegisterFilter@8 referenced in function _main
This is happening DESPITE using the extern "C"
declaration, viz.:
extern "C" int CLRDUMP_API RegisterFilter( LPCWSTR pDumpFileName, unsigned long DumpType );
Also, in the makeexe.mak, the library is being linked in as:
$(COMPILEBASE)\lib\clrdump.lib \
To be honest, I am not an expert at makefiles, and I am changing over a system from Microsoft Visual C++ 6.0 to 2008. This change-over may have something to do with the link errors, as the system used to work before.
Any help would really be appreciated.
Thanks in Advance,
Sincerely, Joseph