ExistFiles
C / C++ / MFC
5
Posts
4
Posters
0
Views
1
Watching
-
You can simply use fopen and check the return type:
BOOL ExistFile(char* FileName)
{
FILE* hFile;
hFile = fopen(FileName,"r");
if (hFile)
{
fclose(hFile);
return TRUE;
}return FALSE;
} -
int _access( const char *path, int mode ); HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
int _access( const char *path, int mode ); HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.
-
You can simply use fopen and check the return type:
BOOL ExistFile(char* FileName)
{
FILE* hFile;
hFile = fopen(FileName,"r");
if (hFile)
{
fclose(hFile);
return TRUE;
}return FALSE;
}