S
S. Han
I'm getting a link error building a MC++/DLL project and I was wondering if
someone might have an insight on this. It only happens in Release build. And
I have included shlwapi.lib in the additional library.
Linking...
myfile.obj : error LNK2001: unresolved external symbol "char * __stdcall
PathFindFileNameA(char const *)" (?PathFindFileNameA@@$$J14YGPADPBD@Z)
myfile.obj : error LNK2001: unresolved external symbol "int __stdcall
PathRemoveFileSpecA(char *)" (?PathRemoveFileSpecA@@$$J14YGHPAD@Z)
fatal error LNK1120: 2 unresolved externals
someone might have an insight on this. It only happens in Release build. And
I have included shlwapi.lib in the additional library.
Linking...
myfile.obj : error LNK2001: unresolved external symbol "char * __stdcall
PathFindFileNameA(char const *)" (?PathFindFileNameA@@$$J14YGPADPBD@Z)
myfile.obj : error LNK2001: unresolved external symbol "int __stdcall
PathRemoveFileSpecA(char *)" (?PathRemoveFileSpecA@@$$J14YGHPAD@Z)
fatal error LNK1120: 2 unresolved externals