I have setup a .NET library in C++ language in VS.NET 2005 Beta1. I this
project, I add some additional dependency to some C library. The header file
of the C library has been marked as "extern "C"", but the linker just can't
find these function entries. After I read the error report carefully, I
found that the compiler seems ignored these "extern C" mark.
The linker report :
Error 13 error LNK2020: unresolved token (0A00001A) "void (__cdecl*__cdecl
ticsSetEofHandler(struct TicsHandle_s *,void (__cdecl*)(struct TicsHandle_s
*,int)))(struct TicsHandle_s *,int)"
(?ticsSetEofHandler@@$$J0YAP6AXPAUTicsHandle_s@@H@ Z0P6AX0H@Z@Z)
From the error message, it looks like that the compiler has ignored these
"extern C".
How could I solve this problem?
Thanks!