Changeset 142 for Include/Classes/System/IO/FileSystemInfo.ab
- Timestamp:
- Mar 9, 2007, 10:15:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/IO/FileSystemInfo.ab
r130 r142 167 167 Virtual Sub Refresh() 168 168 Dim data As WIN32_FIND_DATA 169 Dim hFind As HANDLE 170 hFind = FindFirstFile(FullPath, data) 169 Dim hFind = FindFirstFile(ToTCStr(FullPath), data) 171 170 FindClose(hFind) 172 171 … … 179 178 Private 180 179 Function setFileTime() As Boolean 181 Dim hFile As HANDLE 182 hFile = CreateFile(FullPath, GENERIC_WRITE, FILE_SHARE_READ Or FILE_SHARE_WRITE, ByVal 0, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, 0) 180 Dim hFile = CreateFile(ToTCStr(FullPath), GENERIC_WRITE, FILE_SHARE_READ Or FILE_SHARE_WRITE, ByVal 0, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, 0) 183 181 If hFile = INVALID_HANDLE_VALUE Then 184 182 setFileTime = False
Note:
See TracChangeset
for help on using the changeset viewer.