I'm using vs2012 to create a small wrapper dll, linking against another dll (.lib) which was built with VC6.
I get link errors like:
error LNK2019: unresolved external symbol __imp__functionName@8
I added the lib file supplied with the vc6 dll to the link line, as I've done in the past... is there some version problem here? The vc6 dll header file declares the functions in what I think is the standard way:
#define DLLIMPORT extern "C" __declspec(dllimport)
DLLIMPORT ULONG WINAPI functionName(...);
Using dumpbin /exports on the vc6 lib file shows "functionName" without the imp prefix and "@8".. not sure if that's a problem or just dumpbin being nice and demangling for me.
I'm not a windows person and have no idea why the linker isn't finding the symbols...help!