Changeset 769 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Source.cpp
- Timestamp:
- Mar 28, 2009, 12:12:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Source.cpp
r760 r769 320 320 bool Text::ReadFile( const std::string &filePath ){ 321 321 //ファイルオープン 322 HANDLE hFile=CreateFile(filePath.c_str(),GENERIC_READ, 0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);322 HANDLE hFile=CreateFile(filePath.c_str(),GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 323 323 if(hFile==INVALID_HANDLE_VALUE){ 324 return false;324 DebugBreak(); return false; 325 325 } 326 326
Note:
See TracChangeset
for help on using the changeset viewer.