Changeset 719 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/BreakPoint.cpp
- Timestamp:
- Aug 13, 2008, 11:01:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/BreakPoint.cpp
r648 r719 119 119 buffer=(char *)HeapAlloc(hHeap,0,65535); 120 120 121 std::string filepath = ActiveBasic::Common::Environment::GetAbdevRootPath() + "\\ab_breakpoint.tmp"; 121 char temporary[MAX_PATH]; 122 GetTempPath(MAX_PATH,temporary); 123 if(temporary[lstrlen(temporary)-1]!='\\') lstrcat(temporary,"\\"); 124 lstrcat(temporary,"ab_breakpoint.tmp"); 125 122 126 HANDLE hFile=CreateFile( 123 filepath.c_str(),127 temporary, 124 128 GENERIC_READ,FILE_SHARE_READ|FILE_SHARE_WRITE,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 125 129 if(hFile!=INVALID_HANDLE_VALUE)
Note:
See TracChangeset
for help on using the changeset viewer.