Ignore:
Timestamp:
Aug 13, 2008, 10:33:58 PM (16 years ago)
Author:
dai
Message:

#188への対応。UserSettingディレクトリを廃止し、正規のユーザ空間ディレクトリを取り入れた。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/abdev/FileOperation.cpp

    r705 r717  
    22
    33#include "Common.h"
    4 
    5 void MakeUserSettingDir(void){
    6     char temporary[MAX_PATH];
    7     sprintf(temporary,"%sUserSetting",pj_editor_Dir);
    8 
    9     HANDLE hFind;
    10     WIN32_FIND_DATA wfd;
    11     hFind=FindFirstFile(temporary,&wfd);
    12     if(hFind==INVALID_HANDLE_VALUE){
    13         //UserSettingディレクトリを作成
    14         if(!CreateDirectory(temporary,NULL)){
    15             MessageBox(hOwner,"UserSettingディレクトリの作成に失敗",APPLICATION_NAME,MB_OK|MB_ICONEXCLAMATION);
    16             return;
    17         }
    18     }
    19     else{
    20         FindClose(hFind);
    21     }
    22 }
    234
    245char *ReadBuffer( const std::string &path ){
Note: See TracChangeset for help on using the changeset viewer.