I am using FilePathExists function in two cpp files.
in one file I did not included
#include "Shlwapi.h" but it is compiling.
but in other file if I am not including #include "Shlwapi.h" then
error s coming like this...Can u plz tell me the reason why?
d:\WS\DirectoriesConfigCfg.cpp(675): error C2065: 'PathFileExists' : undeclared identifier
Can I check, do you mean PathFileExists?
You must include shlwapi.h, either directly or indirectly. If you do not include it directly (#include "Shlwapi.h") you may be including another header which in turn includes it. Are you doing that?