error LNK2001

Searching for 'PathFileExists'...
F:\ElecRoc2\SourceCode\PJTP\ColorPrnParam\ParamSet.cpp(959):  if (!name.IsEmpty() && PathFileExists(name))
F:\ElecRoc2\SourceCode\PJTP\ColorPrnParam\ParamSet.cpp(1153):  else if (!name.IsEmpty() && !PathFileExists(name))
F:\ElecRoc2\SourceCode\PJTP\ColorPrnParam\ParamSet.cpp(1680):  if (!name.IsEmpty() && PathFileExists(name))
Cannot open file 'F:\ElecRoc2\SourceCode\PJTP\ColorPrnParam\ProofE.ncb'.
F:\ElecRoc2\SourceCode\PJTP\ColorPrnParam\ProofE.plg(75):ParamSet.obj : error LNK2001: unresolved external symbol __imp__PathFileExistsA@4
4 occurrence(s) have been found.

 

solution:

Header shlwapi.h
Import library shlwapi.lib

Project Settings:

Link:

Object/library modules: shlwapi.lib

 

你可能感兴趣的:(error)