Ignore:
Timestamp:
Apr 6, 2008, 8:07:40 PM (16 years ago)
Author:
dai_9181
Message:

構成管理を大幅に改良。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ProjectEditor/SubOperation.cpp

    r475 r477  
    911911
    912912    //リソース用DLLをマッピング
    913     const std::string resDllPath = Program::GetApplicationSystemDirPath() + "\\res.dll";
     913    const std::string resDllPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\res.dll";
    914914    hResInst = LoadLibrary( resDllPath.c_str() );
    915915
    916916    //アイコンリソースDLLをマッピング
    917     const std::string iconResDllPath = Program::GetApplicationSystemDirPath() + "\\icon_res.dll";
     917    const std::string iconResDllPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\icon_res.dll";
    918918    hIconResInst = LoadLibrary( iconResDllPath.c_str() );
    919919
    920920    //LuxCtrl.dllをマッピング
    921     const std::string luxCtrlDllPath = Program::GetApplicationSystemDirPath() + "\\LuxCtrl.dll";
     921    const std::string luxCtrlDllPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\LuxCtrl.dll";
    922922    hLib_LuxCtrl = LoadLibrary( luxCtrlDllPath.c_str() );
    923923    if(!hLib_LuxCtrl){
     
    949949    ScreenX=GetSystemMetrics(SM_CXSCREEN);
    950950    ScreenY=GetSystemMetrics(SM_CYSCREEN);
    951 
    952     //コンパイラ名をセット(デフォルトはWin32)
    953     extern char *lpszCompilerName;
    954     lpszCompilerName=WIN32_COMPILER_NAME;
    955951
    956952    //不揮発性のデータを取得
     
    12201216    HANDLE hFile;
    12211217    DWORD dw;
    1222     const std::string pltPath = Program::GetApplicationSystemDirPath() + "\\8bit.plt";
     1218    const std::string pltPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\8bit.plt";
    12231219    hFile=CreateFile(pltPath.c_str(),GENERIC_READ,FILE_SHARE_READ|FILE_SHARE_WRITE,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
    12241220    if(hFile==INVALID_HANDLE_VALUE){
     
    14731469    extern LPSTR DefFileFilter;
    14741470    int WndNum;
    1475     char temporary[MAX_PATH],temp2[MAX_PATH];
     1471    char temp2[MAX_PATH];
    14761472    HANDLE hFind;
    14771473    WIN32_FIND_DATA wfd;
    14781474
    1479     extern char *lpszCompilerName;
    1480     sprintf(temporary,"%s%s",pj_editor_Dir,lpszCompilerName);
    1481     hFind=FindFirstFile(temporary,&wfd);
     1475    extern ActiveBasic::Common::Platform::EnumType selectingPlatform;
     1476    hFind=FindFirstFile(ActiveBasic::Common::Environment::GetCompilerExePath( selectingPlatform ).c_str(),&wfd);
    14821477    if(hFind==INVALID_HANDLE_VALUE){
    14831478        //"BasicCompiler.exe が見つかりません"
Note: See TracChangeset for help on using the changeset viewer.