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

構成管理を大幅に改良。

File:
1 edited

Legend:

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

    r475 r477  
    898898    }
    899899    else if(NewProjectInfo.dwTypeID==IDC_EXE_DIRECTX){
    900         const std::string mainExeDirectXAbpPath = Program::GetApplicationSystemDirPath() + "\\system\\dx\\main_exe_directx.abp";
     900        const std::string mainExeDirectXAbpPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\dx\\main_exe_directx.abp";
    901901        pTemp = ReadBuffer( mainExeDirectXAbpPath );
    902902
     
    969969    if(NewProjectInfo.dwTypeID==IDC_EXE_WINDOWBASE)
    970970    {
    971         mainWndSbpPath = Program::GetApplicationSystemDirPath() + "\\MainWnd_exe_windowbase.sbp";
     971        mainWndSbpPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\MainWnd_exe_windowbase.sbp";
    972972    }
    973973    else if(NewProjectInfo.dwTypeID==IDC_EXE_DIRECTX)
    974974    {
    975         mainWndSbpPath = Program::GetApplicationSystemDirPath() + "\\MainWnd_exe_directx.sbp";
     975        mainWndSbpPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\MainWnd_exe_directx.sbp";
    976976    }
    977977
     
    10171017
    10181018        //dx_graphics.sbpをコピー
    1019         const std::string dxGraphicsSbpPath = Program::GetApplicationSystemDirPath() + "\\dx\\dx_graphics.sbp";
     1019        const std::string dxGraphicsSbpPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\dx\\dx_graphics.sbp";
    10201020        pTemp = ReadBuffer( dxGraphicsSbpPath );
    10211021        sprintf(temporary,"%sdx_graphics.sbp",dir,NewProjectInfo.name);
     
    10241024
    10251025        //dx_input.sbpをコピー
    1026         const std::string dxInputSbpPath = Program::GetApplicationSystemDirPath() + "\\dx\\dx_input.sbp";
     1026        const std::string dxInputSbpPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\dx\\dx_input.sbp";
    10271027        pTemp = ReadBuffer( dxInputSbpPath );
    10281028        sprintf(temporary,"%sdx_input.sbp",dir,NewProjectInfo.name);
     
    10311031
    10321032        //dx_music.sbpをコピー
    1033         const std::string dxMusicSbpPath = Program::GetApplicationSystemDirPath() + "\\dx\\dx_music.sbp";
     1033        const std::string dxMusicSbpPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\dx\\dx_music.sbp";
    10341034        pTemp = ReadBuffer( dxMusicSbpPath );
    10351035        sprintf(temporary,"%sdx_music.sbp",dir,NewProjectInfo.name);
     
    10971097    //マニフェストを作成
    10981098    char temp2[MAX_PATH];
    1099     const std::string manifestTempXmlPath = Program::GetApplicationSystemDirPath() + "\\manifest_temp.xml";
     1099    const std::string manifestTempXmlPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\manifest_temp.xml";
    11001100    sprintf(temp2,"%s%s.manifest.xml",dir,NewProjectInfo.name);
    11011101    CopyFile( manifestTempXmlPath.c_str(), temp2, 0 );
     
    23722372BOOL SetProjectToRun(void){
    23732373    extern PROJECTINFO ProjectInfo;
    2374     char temporary[MAX_PATH];
    23752374    HANDLE hFind;
    23762375    WIN32_FIND_DATA wfd;
     
    23822381    }
    23832382
    2384     extern char *lpszCompilerName;
    2385     sprintf(temporary,"%s%s",pj_editor_Dir,lpszCompilerName);
    2386     hFind=FindFirstFile(temporary,&wfd);
     2383    extern ActiveBasic::Common::Platform::EnumType selectingPlatform;
     2384    hFind=FindFirstFile( ActiveBasic::Common::Environment::GetCompilerExePath( selectingPlatform ).c_str(), &wfd );
    23872385    if(hFind==INVALID_HANDLE_VALUE){
    23882386        //"BasicCompiler.exe が見つかりません"
Note: See TracChangeset for help on using the changeset viewer.