Changeset 477 in dev for trunk/ab5.0/abdev/ProjectEditor/ProjectControl.cpp
- Timestamp:
- Apr 6, 2008, 8:07:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ProjectEditor/ProjectControl.cpp
r475 r477 898 898 } 899 899 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"; 901 901 pTemp = ReadBuffer( mainExeDirectXAbpPath ); 902 902 … … 969 969 if(NewProjectInfo.dwTypeID==IDC_EXE_WINDOWBASE) 970 970 { 971 mainWndSbpPath = Program::GetApplicationSystemDirPath() + "\\MainWnd_exe_windowbase.sbp";971 mainWndSbpPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\MainWnd_exe_windowbase.sbp"; 972 972 } 973 973 else if(NewProjectInfo.dwTypeID==IDC_EXE_DIRECTX) 974 974 { 975 mainWndSbpPath = Program::GetApplicationSystemDirPath() + "\\MainWnd_exe_directx.sbp";975 mainWndSbpPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\MainWnd_exe_directx.sbp"; 976 976 } 977 977 … … 1017 1017 1018 1018 //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"; 1020 1020 pTemp = ReadBuffer( dxGraphicsSbpPath ); 1021 1021 sprintf(temporary,"%sdx_graphics.sbp",dir,NewProjectInfo.name); … … 1024 1024 1025 1025 //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"; 1027 1027 pTemp = ReadBuffer( dxInputSbpPath ); 1028 1028 sprintf(temporary,"%sdx_input.sbp",dir,NewProjectInfo.name); … … 1031 1031 1032 1032 //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"; 1034 1034 pTemp = ReadBuffer( dxMusicSbpPath ); 1035 1035 sprintf(temporary,"%sdx_music.sbp",dir,NewProjectInfo.name); … … 1097 1097 //マニフェストを作成 1098 1098 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"; 1100 1100 sprintf(temp2,"%s%s.manifest.xml",dir,NewProjectInfo.name); 1101 1101 CopyFile( manifestTempXmlPath.c_str(), temp2, 0 ); … … 2372 2372 BOOL SetProjectToRun(void){ 2373 2373 extern PROJECTINFO ProjectInfo; 2374 char temporary[MAX_PATH];2375 2374 HANDLE hFind; 2376 2375 WIN32_FIND_DATA wfd; … … 2382 2381 } 2383 2382 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 ); 2387 2385 if(hFind==INVALID_HANDLE_VALUE){ 2388 2386 //"BasicCompiler.exe が見つかりません"
Note:
See TracChangeset
for help on using the changeset viewer.