I’m programming with vc6.0 with my backup program. I included shlwapi.h, windows.h and I used PathStripPath function and PathRemoveFileSpec function.
When I complied this message came out.
BlackDlg.obj : error LNK2001: unresolved external symbol __imp__PathStripPathA@4
BlackDlg.obj : error LNK2001: unresolved external symbol __imp__PathRemoveFileSpecA@4
And I remove usage in my code and this message doesn’t come. Thank for you quick advance.
The MSDN Library has plenty of information about both of these functions. If you look towards the ends of the articles you’ll see that the functions are defined in
shlwapi.lib; you need to instruct your linker to include this library for your project to build.