LNK2001 error on PathFindFileName

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top