Changeset 477 in dev for trunk/ab5.0/abdev/ProjectEditor/SubOperation.cpp
- Timestamp:
- Apr 6, 2008, 8:07:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ProjectEditor/SubOperation.cpp
r475 r477 911 911 912 912 //リソース用DLLをマッピング 913 const std::string resDllPath = Program::GetApplicationSystemDirPath() + "\\res.dll";913 const std::string resDllPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\res.dll"; 914 914 hResInst = LoadLibrary( resDllPath.c_str() ); 915 915 916 916 //アイコンリソースDLLをマッピング 917 const std::string iconResDllPath = Program::GetApplicationSystemDirPath() + "\\icon_res.dll";917 const std::string iconResDllPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\icon_res.dll"; 918 918 hIconResInst = LoadLibrary( iconResDllPath.c_str() ); 919 919 920 920 //LuxCtrl.dllをマッピング 921 const std::string luxCtrlDllPath = Program::GetApplicationSystemDirPath() + "\\LuxCtrl.dll";921 const std::string luxCtrlDllPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\LuxCtrl.dll"; 922 922 hLib_LuxCtrl = LoadLibrary( luxCtrlDllPath.c_str() ); 923 923 if(!hLib_LuxCtrl){ … … 949 949 ScreenX=GetSystemMetrics(SM_CXSCREEN); 950 950 ScreenY=GetSystemMetrics(SM_CYSCREEN); 951 952 //コンパイラ名をセット(デフォルトはWin32)953 extern char *lpszCompilerName;954 lpszCompilerName=WIN32_COMPILER_NAME;955 951 956 952 //不揮発性のデータを取得 … … 1220 1216 HANDLE hFile; 1221 1217 DWORD dw; 1222 const std::string pltPath = Program::GetApplicationSystemDirPath() + "\\8bit.plt";1218 const std::string pltPath = ActiveBasic::Common::Environment::GetAbdevSystemDirPath() + "\\8bit.plt"; 1223 1219 hFile=CreateFile(pltPath.c_str(),GENERIC_READ,FILE_SHARE_READ|FILE_SHARE_WRITE,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL); 1224 1220 if(hFile==INVALID_HANDLE_VALUE){ … … 1473 1469 extern LPSTR DefFileFilter; 1474 1470 int WndNum; 1475 char temp orary[MAX_PATH],temp2[MAX_PATH];1471 char temp2[MAX_PATH]; 1476 1472 HANDLE hFind; 1477 1473 WIN32_FIND_DATA wfd; 1478 1474 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); 1482 1477 if(hFind==INVALID_HANDLE_VALUE){ 1483 1478 //"BasicCompiler.exe が見つかりません"
Note: See TracChangeset
for help on using the changeset viewer.