Static Public Member Functions | |
bool | CheckDirExists (LPCTSTR lpcFileName) |
bool | CheckFileExists (LPCTSTR lpcFileName) |
bool | DoesFileExists (LPCTSTR lpcFileName, DWORD &dwFileAttribute) |
bool | GetFileContent (LPCTSTR lpFileName, LPTSTR &pBuf, DWORD &dwLen) |
DWORD | GetFileFullPathName (LPCSTR lpFileName, DWORD dwBufLen, LPSTR lpFullPath, LPSTR *lpFilePart) |
DWORD | GetLongPathName (LPCTSTR lpcShortPath, LPTSTR lpLongPath) |
bool | IsFileNameOK (LPTSTR lpFileName) |
bool | OverwriteFile (LPCTSTR lpFileName, LPCTSTR pBuf, DWORD dwLen) |
void | SetToCurrentDirectory () |
bool | WriteFile (LPCTSTR lpFileName, LPCTSTR pBuf, DWORD dwLen, DWORD dwCreationDisposition) |
|
Checks that the given directory name exists.
|
|
Checks that the given file name exists.
|
|
Checks that the given file exits.
|
|
Copy the content of a given file into a memory buffer.
|
|
Get the full path name of a given file.
|
|
Get the long path name of a given file. This function is actually implemented as standart windows API but not in Windows NT and Windows 95. To keep this copatibility we implemented it in this class.
|
|
Validates that a name of a file is valid.
|
|
Writes a content of a buffer into a file. The function calls CBS_FileSupport::WriteFile with the argument dwCreationDisposition = CREATE_ALWAYS, this means that the file will be overwritten.
|
|
Sets the application current directory to the directory from whiche it started. For example if the application started from the development environment, the current directory might be the Project directory and from where the application started, this might lead to failure if the application load files using relative paths.
|
|
Writes a content of a buffer into a file.
|
Bitspot AG |
||
Phone: |
+41 41 755 11 22 |
|
Fax: |
+41 41 755 11 31 |
|
e-mail: |
||
Web: |
||