using VC6 link VC7 static lib error
I use VC 7 (Visual Studio.Net 2003) created a static lib, then I use VC6 to link with it in an application, there are some errors during link. Here is the source file of the lib,
Here is the header of the lib file,
Here is the application using the static lib,
When building the lib using VC7, there are no errors and the static lib is generated. When building the application and link it with the static lib, there are errors,
int a = foo();
--------------------Configuration: VC6VC7lib - Win32 Debug--------------------
VC7_static_lib.lib(foo.obj) : fatal error LNK1190: invalid fixup found, type 0x000C
Error executing link.exe.
VC6VC7lib.exe - 1 error(s), 0 warning(s)
I can not find any useful information from MSDN. Could anyone help please -- how to use VC6 link a static library generated by VC7?
thanks in advance,