I've got a .cpp file with a function
In the header file I haveCode:LOAD_file(const char *szFileName)
I'm calling the function from a C file.Code:#if defined __cplusplus extern "C" { #endif BOOL LOAD_file(const char *szFileName); #if defined __cplusplus } #endif
Compilation is fine but during linkage I always get the error
I'm using MSVC++ 6.Code:error LNK2001: unresolved external symbol _LOAD_file
Can anyone tell me whats wrong?