Changeset 625 in dev for trunk/ab5.0/abdev/abdev/Backup.cpp
- Timestamp:
- May 27, 2008, 9:17:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/Backup.cpp
r475 r625 48 48 sprintf(temp2,"%x\r\n",hOwner); 49 49 50 for(i=0;i<M AX_WNDNUM;i++){50 for(i=0;i<MdiInfo.size();i++){ 51 51 if(MdiInfo[i].hwnd){ 52 52 int WndNum; … … 60 60 61 61 //情報を追加 62 sprintf(temp2+lstrlen(temp2),"%s\r\n",MdiInfo[WndNum].path );62 sprintf(temp2+lstrlen(temp2),"%s\r\n",MdiInfo[WndNum].path.c_str()); 63 63 64 64 iNum++; … … 115 115 116 116 //パスを変更 117 GlobalFree(MdiInfo[WndNum].path); 118 MdiInfo[WndNum].path=(char *)GlobalAlloc(GMEM_FIXED,lstrlen(szBeforeFilePath)+1); 119 lstrcpy(MdiInfo[WndNum].path,szBeforeFilePath); 117 MdiInfo[WndNum].path = szBeforeFilePath; 120 118 121 119 //ドキュメント セレクト コンボボックスに挿入
Note:
See TracChangeset
for help on using the changeset viewer.