Your Ad Here

Posted By

jimfred on 02/18/09


Tagged


Versions (?)

MFC, does file exist.


 / Published in: C++
 

  1. #include "Shlwapi.h"
  2.  
  3. LPCSTR pFilename = ".\\Log.txt";
  4.  
  5. bool newFile = !::PathFileExists( pFilename );

Report this snippet  

You need to login to post a comment.