Changeset 769 in dev for trunk/ab5.0/abdev/ab_common
- Timestamp:
- Mar 28, 2009, 12:12:58 PM (16 years ago)
- Location:
- trunk/ab5.0/abdev/ab_common/src
- Files:
-
- 2 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 -
trunk/ab5.0/abdev/ab_common/src/ResourceManager/ResourceManager.cpp
r662 r769 22 22 HANDLE hFile; 23 23 24 hFile=CreateFile(resourceFilePath.c_str(),GENERIC_READ, 0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);24 hFile=CreateFile(resourceFilePath.c_str(),GENERIC_READ,FILE_SHARE_READ,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 25 25 if(hFile==INVALID_HANDLE_VALUE) 26 26 {
Note:
See TracChangeset
for help on using the changeset viewer.