Changeset 620 in dev for trunk/ab5.0/abdev/abdev/FileOperation.cpp
- Timestamp:
- May 19, 2008, 6:17:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/FileOperation.cpp
r619 r620 136 136 lstrcpy(path,temp3); 137 137 } 138 void GetFullPath(char *path,c har *dir){138 void GetFullPath(char *path,const char *dir){ 139 139 int i,i2,i3,i4; 140 140 char temporary[MAX_PATH]; … … 290 290 return FT_OTHER; 291 291 } 292 HWND OpenFileWithExtension(char *OpenFileName){ 292 HWND OpenFileWithExtension( const std::string &filePath ) 293 { 293 294 int i; 294 295 _int8 DocumentType; 296 297 // TODO: 298 char *OpenFileName = const_cast<char *>(filePath.c_str()); 295 299 296 300 i=GetFileExtension(OpenFileName); … … 348 352 349 353 if(projectInfo.ModifyOfMaterial){ 350 sprintf(temporary,"%s%s.wnd",projectInfo. dir,projectInfo.GetName().c_str());354 sprintf(temporary,"%s%s.wnd",projectInfo.GetWorkDir().GetPath().c_str(),projectInfo.GetName().c_str()); 351 355 SaveWindowFile( temporary, projectInfo.windowInfos ); 352 356
Note:
See TracChangeset
for help on using the changeset viewer.