Changeset 798 in dev for branches/egtra
- Timestamp:
- Feb 5, 2011, 11:43:01 PM (14 years ago)
- Location:
- branches/egtra/ab5.0/abdev
- Files:
-
- 7 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/BasicCompiler_Common/BasicCompiler.cpp
r773 r798 377 377 BOOL CALLBACK DlgCompile(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 378 378 extern HANDLE hDebugProcess; 379 extern DWORD processIdDebug; 379 380 char temporary[MAX_PATH]; 380 381 RECT rect; … … 444 445 TerminateProcess(hDebugProcess,0); 445 446 hDebugProcess=0; 447 processIdDebug = 0; 446 448 447 449 //デバッグダイアログを終了 … … 475 477 TerminateProcess(hDebugProcess,0); 476 478 hDebugProcess=0; 479 processIdDebug = 0; 477 480 478 481 //デバッグダイアログを終了 -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/CDebugThreadInfo.cpp
r741 r798 4 4 #include "DebugSection.h" 5 5 6 #include <ProcessAndModule.h> 6 7 7 8 //デバッグ用 … … 10 11 11 12 extern HANDLE hDebugProcess; 13 extern DWORD processIdDebug; 12 14 extern DebugSectionCollection debugSectionCollection; 13 15 … … 67 69 68 70 //マッピングされているモジュールのイメージベースを取得 69 HMODULE array_hModule[1024]; 70 DWORD cbReturned; 71 if(!EnumProcessModules( hDebugProcess, array_hModule, sizeof(HMODULE)*1024, &cbReturned )) return 0; 71 //HMODULE array_hModule[1024]; 72 //DWORD cbReturned; 73 //if(!EnumProcessModules( hDebugProcess, array_hModule, sizeof(HMODULE)*1024, &cbReturned )) return 0; 74 auto modules = ActiveBasic::Common::GetModules(processIdDebug); 72 75 73 int i;74 76 HMODULE hTargetModule=0; 75 for(i=0;i<(int)(cbReturned/sizeof(HMODULE));i++){ 76 if((LONG_PTR)array_hModule[i]<=(LONG_PTR)EIP_RIP(Context)){ 77 if(hTargetModule<array_hModule[i]) hTargetModule=array_hModule[i]; 77 for (std::size_t i = 0; i < modules.size(); ++i) 78 { 79 if ((LONG_PTR)modules[i]<=(LONG_PTR)EIP_RIP(Context)) 80 { 81 if (hTargetModule<modules[i]) 82 { 83 hTargetModule=modules[i]; 84 } 78 85 } 79 86 } … … 81 88 extern DWORD ImageBase; 82 89 if((HMODULE)(ULONG_PTR)ImageBase!=hTargetModule){ 83 for( i=0;i<debugSectionCollection.debugSections.size();i++){90 for(std::size_t i=0;i<debugSectionCollection.debugSections.size();i++){ 84 91 if((HMODULE)(ULONG_PTR)debugSectionCollection.debugSections[i]->dwImageBase==hTargetModule){ 85 92 debugSectionCollection.choice(i); -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/Debug.cpp
r750 r798 9 9 #include "../BasicCompiler_Common/debug.h" 10 10 11 #include <Path.h> 12 #include <ProcessAndModule.h> 13 11 14 char *OpBuffer; 12 15 … … 14 17 15 18 HANDLE hDebugProcess; 19 DWORD processIdDebug; 16 20 17 21 DWORD _DebugSys_dwThreadID[MAX_DEBUG_THREAD]; … … 155 159 TerminateProcess(hDebugProcess,0); 156 160 hDebugProcess=0; 161 processIdDebug = 0; 157 162 158 163 //デバッグダイアログを終了 … … 435 440 if( program.IsAttach() ) 436 441 { 437 //プロセスIDを元にハンドルを取得 438 HANDLE hProcess; 439 hProcess=OpenProcess(PROCESS_ALL_ACCESS,0, program.GetAttachProcessId() ); 440 if(!hProcess) goto AttachError; 441 442 //そのプロセスにおける実行モジュールのインスタンスハンドルを取得 443 HINSTANCE hModule; 444 DWORD cbReturned; 445 if(!EnumProcessModules( hProcess, &hModule, sizeof(HINSTANCE), &cbReturned )) goto AttachError; 442 ////プロセスIDを元にハンドルを取得 443 //HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS,0, program.GetAttachProcessId() ); 444 //if(!hProcess) 445 //{ 446 // DebugMessage("アタッチに失敗しました。"); 447 // return; 448 //} 449 450 ////そのプロセスにおける実行モジュールのインスタンスハンドルを取得 451 //HINSTANCE hModule; 452 //DWORD cbReturned; 453 //if(!EnumProcessModules( hProcess, &hModule, sizeof(HINSTANCE), &cbReturned )) 454 //{ 455 // DebugMessage("アタッチに失敗しました。"); 456 // return; 457 //} 446 458 447 459 //実行ファイル名を取得 448 char tempOutputFileName[MAX_PATH]; 449 GetModuleFileNameEx(hProcess,hModule,tempOutputFileName,MAX_PATH); 450 program.SetOutputFilePath( tempOutputFileName ); 451 452 CloseHandle(hProcess); 460 auto tempOutputFilePath = ActiveBasic::Common::GetExecutableModulePath(program.GetAttachProcessId()); 461 program.SetOutputFilePath( tempOutputFilePath.string().c_str() ); 462 463 //CloseHandle(hProcess); 453 464 454 465 /* … … 456 467 pobj_DebugSection->load(program.GetOutputFilePath().c_str());*/ 457 468 458 if(!DebugActiveProcess( program.GetAttachProcessId() )) {459 AttachError: 469 if(!DebugActiveProcess( program.GetAttachProcessId() )) 470 { 460 471 DebugMessage("アタッチに失敗しました。"); 461 472 return; … … 532 543 else{ 533 544 Attach_DllLoad: 534 //アタッチした場合 535 GetModuleFileNameEx(hDebugProcess,(HINSTANCE)de.u.LoadDll.lpBaseOfDll,temporary,MAX_PATH); 545 { 546 //アタッチした場合 547 auto path = ActiveBasic::Common::GetModuleFilePath(hDebugProcess, reinterpret_cast<HINSTANCE>(de.u.LoadDll.lpBaseOfDll)); 548 strncpy_s(temporary, path.string().c_str(), _TRUNCATE); 549 } 536 550 } 537 551 … … 562 576 hDebugProcess=de.u.CreateProcessInfo.hProcess; 563 577 hMainThread=de.u.CreateProcessInfo.hThread; 578 processIdDebug = de.dwProcessId; 564 579 565 580 if(debugSectionCollection.add((HMODULE)de.u.CreateProcessInfo.lpBaseOfImage)){ -
branches/egtra/ab5.0/abdev/OldWindowsHelperImpl.cpp
r787 r798 1 1 #include "stdafx.h" 2 3 static OSVERSIONINFO GetVersionEx2() 4 { 5 OSVERSIONINFO vi = {sizeof vi}; 6 GetVersionEx(&vi); 7 return vi; 8 } 9 10 static OSVERSIONINFO const vi = GetVersionEx2(); 11 12 2 #include "OSVersion.h" 13 3 14 4 static HMODULE hmodKernel; … … 146 136 if (InitializeCriticalSectionAndSpinCount_Real != nullptr) 147 137 { 148 OSVERSIONINFO vi = {sizeof vi};149 ::GetVersionEx(&vi);150 138 BOOL ret = InitializeCriticalSectionAndSpinCount_Real(lpcs, spinCount); 151 return vi.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS139 return ActiveBasic::Common::Is9x() 152 140 ? TRUE 153 141 : ret; -
branches/egtra/ab5.0/abdev/ab-common-32.props
r781 r798 7 7 <ClCompile> 8 8 <PreprocessorDefinitions>WINVER=0x040A;_WIN32_WINNT=0x0403;_WIN32_WINDOWS=0x0400;_WIN32_IE=0x0401;%(PreprocessorDefinitions)</PreprocessorDefinitions> 9 <EnablePREfast>true</EnablePREfast> 9 10 </ClCompile> 11 <Link> 12 <AdditionalLibraryDirectories>..\..\jenga\lib\x86;..\lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 13 </Link> 10 14 </ItemDefinitionGroup> 11 15 <ItemGroup /> -
branches/egtra/ab5.0/abdev/ab-common.props
r788 r798 4 4 <PropertyGroup Label="UserMacros" /> 5 5 <PropertyGroup> 6 <OutDir>$(SolutionDir) $(Configuration)-$(Platform)\</OutDir>6 <OutDir>$(SolutionDir)out\$(Configuration)-$(Platform)\</OutDir> 7 7 </PropertyGroup> 8 8 <PropertyGroup> 9 <IntDir>$( Configuration)-$(Platform)\</IntDir>9 <IntDir>$(SolutionDir)int\$(ProjectName)\$(Configuration)-$(Platform)\</IntDir> 10 10 </PropertyGroup> 11 11 <ItemDefinitionGroup> 12 12 <ClCompile> 13 <AdditionalIncludeDirectories> ..\..;..\..\cpplibs;..\..\cpplibs\boost;..\..\cpplibs\WTL80\include;$(SolutionDir)abdev-impl;$(SolutionDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>13 <AdditionalIncludeDirectories>$(SolutionDir)ab_common\include;$(SolutionDir)..;$(SolutionDir)..\cpplibs;$(SolutionDir)..\cpplibs\boost;$(SolutionDir)..\cpplibs\WTL80\include;$(SolutionDir)abdev-impl;$(SolutionDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 14 14 </ClCompile> 15 15 </ItemDefinitionGroup> … … 20 20 <MultiProcessorCompilation>true</MultiProcessorCompilation> 21 21 <ExceptionHandling>Async</ExceptionHandling> 22 <PreprocessorDefinitions>WIN32;_SECURE_ATL=1;%(PreprocessorDefinitions)</PreprocessorDefinitions> 22 23 </ClCompile> 24 <Link> 25 <GenerateDebugInformation>true</GenerateDebugInformation> 26 </Link> 23 27 </ItemDefinitionGroup> 24 28 <ItemGroup /> -
branches/egtra/ab5.0/abdev/ab-test/ab-test.vcxproj
r782 r798 52 52 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 53 53 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 54 <Import Project="..\ab-common.props" /> 54 55 <Import Project="..\ab-common-32.props" /> 55 <Import Project="..\ab-common.props" />56 56 </ImportGroup> 57 57 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> 58 58 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 59 59 <Import Project="..\ab-common.props" /> 60 <Import Project="..\ab-common-64.props" /> 60 61 </ImportGroup> 61 62 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 62 63 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 64 <Import Project="..\ab-common.props" /> 63 65 <Import Project="..\ab-common-32.props" /> 64 <Import Project="..\ab-common.props" />65 66 </ImportGroup> 66 67 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> 67 68 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 68 69 <Import Project="..\ab-common.props" /> 70 <Import Project="..\ab-common-64.props" /> 69 71 </ImportGroup> 70 72 <PropertyGroup Label="UserMacros" /> … … 90 92 <Link> 91 93 <SubSystem>Console</SubSystem> 92 <GenerateDebugInformation>true</GenerateDebugInformation>93 94 <AdditionalDependencies>gdiplus.lib;%(AdditionalDependencies)</AdditionalDependencies> 94 95 </Link> … … 103 104 <Link> 104 105 <SubSystem>Console</SubSystem> 105 <GenerateDebugInformation>true</GenerateDebugInformation>106 106 <AdditionalDependencies>gdiplus.lib;%(AdditionalDependencies)</AdditionalDependencies> 107 107 </Link> … … 118 118 <Link> 119 119 <SubSystem>Console</SubSystem> 120 <GenerateDebugInformation>true</GenerateDebugInformation>121 120 <EnableCOMDATFolding>true</EnableCOMDATFolding> 122 121 <OptimizeReferences>true</OptimizeReferences> … … 135 134 <Link> 136 135 <SubSystem>Console</SubSystem> 137 <GenerateDebugInformation>true</GenerateDebugInformation>138 136 <EnableCOMDATFolding>true</EnableCOMDATFolding> 139 137 <OptimizeReferences>true</OptimizeReferences> -
branches/egtra/ab5.0/abdev/ab-test/stdafx.h
r781 r798 4 4 5 5 #define BOOST_FILESYSTEM_VERSION 3 6 #define BOOST_FILESYSTEM_NO_DEPRECATED 6 7 7 8 #include <memory> -
branches/egtra/ab5.0/abdev/ab_common/ab_common.vcxproj
r781 r798 52 52 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> 53 53 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 54 <Import Project="..\ab-common.props" /> 55 <Import Project="..\ab-common-32.props" /> 54 56 </ImportGroup> 55 57 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> 56 58 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 59 <Import Project="..\ab-common.props" /> 60 <Import Project="..\ab-common-32.props" /> 57 61 </ImportGroup> 58 62 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> 59 63 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 64 <Import Project="..\ab-common.props" /> 65 <Import Project="..\ab-common-64.props" /> 60 66 </ImportGroup> 61 67 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> 62 68 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 69 <Import Project="..\ab-common.props" /> 70 <Import Project="..\ab-common-64.props" /> 63 71 </ImportGroup> 64 72 <PropertyGroup Label="UserMacros" /> 65 73 <PropertyGroup> 66 74 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> 67 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Configuration)-$(Platform)\</OutDir>68 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)-$(Platform)\</IntDir>69 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Configuration)-$(Platform)\</OutDir>70 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)-$(Platform)\</IntDir>71 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Configuration)-$(Platform)\</OutDir>72 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)-$(Platform)\</IntDir>73 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Configuration)-$(Platform)\</OutDir>74 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Configuration)-$(Platform)\</IntDir>75 75 </PropertyGroup> 76 76 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> … … 79 79 <Optimization>Disabled</Optimization> 80 80 <AdditionalIncludeDirectories>..\..\;..\..\cpplibs\boost;include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 81 <PreprocessorDefinitions> WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>81 <PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> 82 82 <MinimalRebuild>false</MinimalRebuild> 83 83 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> … … 96 96 <Optimization>Disabled</Optimization> 97 97 <AdditionalIncludeDirectories>..\..\;..\..\cpplibs\boost;include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 98 <PreprocessorDefinitions> WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>98 <PreprocessorDefinitions>_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> 99 99 <MinimalRebuild>false</MinimalRebuild> 100 100 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> … … 109 109 <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions> 110 110 <AdditionalIncludeDirectories>..\..\;..\..\cpplibs\boost;include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 111 <PreprocessorDefinitions> WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>111 <PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> 112 112 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 113 113 <PrecompiledHeader>Use</PrecompiledHeader> … … 123 123 <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions> 124 124 <AdditionalIncludeDirectories>..\..\;..\..\cpplibs\boost;include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 125 <PreprocessorDefinitions> WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>125 <PreprocessorDefinitions>NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> 126 126 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 127 127 <PrecompiledHeader>Use</PrecompiledHeader> … … 149 149 </PrecompiledHeader> 150 150 </ClCompile> 151 <ClCompile Include="src\OSVersion.cpp" /> 152 <ClCompile Include="src\Path.cpp" /> 153 <ClCompile Include="src\ProcessAndModule.cpp" /> 151 154 <ClCompile Include="stdafx.cpp"> 152 155 <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader> … … 193 196 <ClInclude Include="include\Environment.h" /> 194 197 <ClInclude Include="include\libs.h" /> 198 <ClInclude Include="include\OSVersion.h" /> 199 <ClInclude Include="include\Path.h" /> 200 <ClInclude Include="include\ProcessAndModule.h" /> 195 201 <ClInclude Include="stdafx.h" /> 196 202 <ClInclude Include="include\Lexical\Class.h" /> -
branches/egtra/ab5.0/abdev/ab_common/ab_common.vcxproj.filters
r777 r798 100 100 <Filter>Source Files\ResourceManager</Filter> 101 101 </ClCompile> 102 <ClCompile Include="src\Path.cpp"> 103 <Filter>Source Files</Filter> 104 </ClCompile> 105 <ClCompile Include="src\ProcessAndModule.cpp"> 106 <Filter>Source Files</Filter> 107 </ClCompile> 108 <ClCompile Include="src\OSVersion.cpp"> 109 <Filter>Source Files</Filter> 110 </ClCompile> 102 111 </ItemGroup> 103 112 <ItemGroup> … … 192 201 <Filter>Header Files\ResourceManager</Filter> 193 202 </ClInclude> 203 <ClInclude Include="include\Path.h"> 204 <Filter>Header Files</Filter> 205 </ClInclude> 206 <ClInclude Include="include\ProcessAndModule.h"> 207 <Filter>Header Files</Filter> 208 </ClInclude> 209 <ClInclude Include="include\OSVersion.h"> 210 <Filter>Header Files</Filter> 211 </ClInclude> 194 212 </ItemGroup> 195 213 </Project> -
branches/egtra/ab5.0/abdev/ab_common/src/Environment.cpp
r773 r798 1 1 #include "stdafx.h" 2 2 #include <uxtheme.h> 3 4 DWORD const PROCESS_DEP_ENABLE = 0x00000001; 3 5 4 6 std::string ActiveBasic::Common::Environment::rootPath; -
branches/egtra/ab5.0/abdev/abdev-impl/abdev-impl.vcxproj
r781 r798 56 56 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 57 57 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 58 <Import Project="..\ab-common.props" /> 58 59 <Import Project="..\ab-common-32.props" /> 59 <Import Project="..\ab-common.props" />60 60 </ImportGroup> 61 61 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> 62 62 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 63 63 <Import Project="..\ab-common.props" /> 64 <Import Project="..\ab-common-64.props" /> 64 65 </ImportGroup> 65 66 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 66 67 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 68 <Import Project="..\ab-common.props" /> 67 69 <Import Project="..\ab-common-32.props" /> 68 <Import Project="..\ab-common.props" />69 70 </ImportGroup> 70 71 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> 71 72 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 72 73 <Import Project="..\ab-common.props" /> 74 <Import Project="..\ab-common-64.props" /> 73 75 </ImportGroup> 74 76 <PropertyGroup Label="UserMacros" /> -
branches/egtra/ab5.0/abdev/abdev/Attach.cpp
r763 r798 4 4 5 5 #include "common.h" 6 #include <abdev/ab_common/include/Path.h> 7 #include <abdev/ab_common/include/ProcessAndModule.h> 6 8 #include <psapi.h> 7 9 #include <tlhelp32.h> … … 37 39 } 38 40 39 void InsertProcess_ToListView(HWND hListView,char *lpszAppPath,int id,char *lpszPlatform,char *lpszTitle){41 void InsertProcess_ToListView(HWND hListView,char const* lpszAppPath,int id,char const* lpszPlatform,char const * lpszTitle){ 40 42 char szAppName[MAX_PATH],temp2[MAX_PATH]; 41 43 _splitpath(lpszAppPath,NULL,NULL,szAppName,temp2); … … 75 77 ListView_SetItem(hListView,&item); 76 78 77 item.pszText= lpszPlatform;79 item.pszText=const_cast<LPSTR>(lpszPlatform); 78 80 item.iSubItem++; 79 81 ListView_SetItem(hListView,&item); 80 82 81 item.pszText= lpszTitle;83 item.pszText=const_cast<LPSTR>(lpszTitle); 82 84 item.iSubItem++; 83 85 ListView_SetItem(hListView,&item); … … 159 161 BOOL CALLBACK FindWindowProc(HWND hwnd, LPARAM lParam) 160 162 { 161 HWND* pphWnd = (HWND*)lParam; 162 *pphWnd = hwnd; 163 return FALSE; /* 列挙を中断 */ 163 auto pProcessIdAndHWnd = reinterpret_cast<std::pair<DWORD, HWND>*>(lParam); 164 DWORD processId = 0; 165 ::GetWindowThreadProcessId(hwnd, &processId); 166 if (processId == pProcessIdAndHWnd->first) 167 { 168 pProcessIdAndHWnd->second = hwnd; 169 return FALSE; 170 } 171 else 172 { 173 return TRUE; 174 } 164 175 } 165 176 void ListupProcesses(HWND hListView){ 166 char temporary[MAX_PATH];167 168 177 ListView_DeleteAllItems(hListView); 169 178 170 DWORD *pdwProcessId;171 pdwProcessId=(DWORD *)HeapAlloc(hHeap,0,8192*sizeof(DWORD));172 173 179 //プロセスを列挙 174 DWORD cbNeeded; 175 EnumProcesses(pdwProcessId,8192*sizeof(DWORD),&cbNeeded); 176 177 char szMyAppPath[MAX_PATH]; 178 GetModuleFileName(GetModuleHandle(0),szMyAppPath,MAX_PATH); 179 180 int i; 181 for(i=0;i<(int)(cbNeeded/sizeof(DWORD));i++){ 182 183 //プロセスIDを元にハンドルを取得 184 HANDLE hProcess; 185 hProcess=OpenProcess(PROCESS_ALL_ACCESS,0,pdwProcessId[i]); 186 if(!hProcess) continue; 187 180 auto processIds = ActiveBasic::Common::GetProcesses(); 181 182 char szMyAppPath[MAX_PATH] = {}; 183 GetModuleFileName(nullptr, szMyAppPath, MAX_PATH); 184 185 BOOST_FOREACH(DWORD processId, processIds) 186 { 188 187 //そのプロセスにおける実行モジュールのインスタンスハンドルを取得 189 HINSTANCE hModule; 190 DWORD cbReturned; 191 if(!EnumProcessModules( hProcess, &hModule, sizeof(HINSTANCE), &cbReturned )) 192 continue; 193 194 //実行ファイル名を取得 195 GetModuleFileNameEx(hProcess,hModule,temporary,MAX_PATH); 196 188 auto executablePath = ActiveBasic::Common::GetExecutableModulePath(processId); 197 189 198 190 ////////////////////////////// … … 200 192 ////////////////////////////// 201 193 202 //スナップショットを取得 203 HANDLE hSnapshot; 204 hSnapshot=CreateToolhelp32Snapshot(TH32CS_SNAPALL,0); 205 206 THREADENTRY32 te; 207 memset(&te,0,sizeof(THREADENTRY32)); 208 te.dwSize=sizeof(THREADENTRY32); 209 if(Thread32First(hSnapshot,&te)){ 210 do{ 211 if(te.th32OwnerProcessID==pdwProcessId[i]){ 212 break; 213 } 214 }while(Thread32Next(hSnapshot,&te)); 215 } 216 217 HWND hwnd; 218 hwnd=0; 219 EnumThreadWindows(te.th32ThreadID,FindWindowProc,(LPARAM)&hwnd); 220 221 while(GetParent(hwnd)) hwnd=GetParent(hwnd); 222 223 char szWndTitle[1024]; 224 szWndTitle[0]=0; 225 if(hwnd) GetWindowText(hwnd,szWndTitle,1024); 226 227 CloseHandle(hSnapshot); 228 229 230 231 CloseHandle(hProcess); 232 233 if(lstrcmpi(szMyAppPath,temporary)==0){ 194 std::pair<DWORD, HWND> processIdAndHWnd(processId, nullptr); 195 EnumWindows(FindWindowProc, reinterpret_cast<LPARAM>(&processIdAndHWnd)); 196 HWND hwnd = processIdAndHWnd.second; 197 198 TCHAR szWndTitle[1024] = {}; 199 if(hwnd) GetWindowText(hwnd, szWndTitle, 1024); 200 201 if (ActiveBasic::Common::IsPathEqual(Jenga::Common::ToWString(szMyAppPath).c_str(), executablePath.wstring().c_str())) 202 { 234 203 //自分自身(ProjectEditor.exe)は無視 235 204 continue; … … 237 206 238 207 //リストビューへ追加 239 InsertProcess_ToListView(hListView,temporary,pdwProcessId[i],"Win32",szWndTitle); 240 } 241 242 HeapDefaultFree(pdwProcessId); 208 InsertProcess_ToListView(hListView,executablePath.string().c_str(),processId,"Win32",szWndTitle); 209 } 243 210 } 244 211 -
branches/egtra/ab5.0/abdev/abdev/abdev.vcxproj
r788 r798 53 53 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 54 54 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> 55 <Import Project="..\ab-common.props" /> 55 56 <Import Project="..\ab-common-32.props" /> 56 <Import Project="..\ab-common.props" />57 57 </ImportGroup> 58 58 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> 59 59 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 60 60 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> 61 <Import Project="..\ab-common.props" /> 61 62 <Import Project="..\ab-common-32.props" /> 62 <Import Project="..\ab-common.props" />63 63 </ImportGroup> 64 64 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> … … 66 66 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> 67 67 <Import Project="..\ab-common.props" /> 68 <Import Project="..\ab-common-64.props" /> 68 69 </ImportGroup> 69 70 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> … … 71 72 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> 72 73 <Import Project="..\ab-common.props" /> 74 <Import Project="..\ab-common-64.props" /> 73 75 </ImportGroup> 74 76 <PropertyGroup Label="UserMacros" /> … … 76 78 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> 77 79 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">..\build\$(Configuration)\</OutDir> 78 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)-$(Platform)\</IntDir>79 80 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> 80 81 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)-$(Platform)\</OutDir> 81 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)-$(Platform)\</IntDir>82 82 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> 83 83 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">..\build\$(Configuration)\</OutDir> 84 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)-$(Platform)\</IntDir>85 84 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> 86 85 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Configuration)-$(Platform)\</OutDir> 87 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)-$(Platform)\</IntDir>88 86 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> 89 87 </PropertyGroup> … … 101 99 <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions> 102 100 <Optimization>Disabled</Optimization> 103 <PreprocessorDefinitions> WIN32;_DEBUG;_WINDOWS;JPN;WINVER=0x040A;_WIN32_WINNT=0x0403;_WIN32_WINDOWS=0x0400;_WIN32_IE=0x0401;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions>101 <PreprocessorDefinitions>_DEBUG;_WINDOWS;JPN;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 104 102 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> 105 103 <PrecompiledHeader>Use</PrecompiledHeader> … … 114 112 <Link> 115 113 <AdditionalDependencies>unicows.lib;comctl32.lib;imm32.lib;htmlhelp.lib;rpcrt4.lib;imagehlp.lib;tinyxmld_STL.lib;dwmapi.lib;%(AdditionalDependencies)</AdditionalDependencies> 116 <AdditionalLibraryDirectories>..\..\jenga\lib\x86;..\lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>117 114 <DelayLoadDLLs>PSAPI.DLL;DWMAPI.DLL;%(DelayLoadDLLs)</DelayLoadDLLs> 118 <GenerateDebugInformation>true</GenerateDebugInformation>119 115 <SubSystem>Windows</SubSystem> 120 116 <TargetMachine>MachineX86</TargetMachine> … … 141 137 <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions> 142 138 <Optimization>Disabled</Optimization> 143 <PreprocessorDefinitions> WIN32;_DEBUG;_WINDOWS;JPN;WINVER=0x0501;_WIN32_WINNT=0x0501;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions>139 <PreprocessorDefinitions>_DEBUG;_WINDOWS;JPN;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 144 140 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> 145 141 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> … … 154 150 <Link> 155 151 <AdditionalDependencies>comctl32.lib;imm32.lib;htmlhelp.lib;rpcrt4.lib;imagehlp.lib;tinyxmld_STL.lib;%(AdditionalDependencies)</AdditionalDependencies> 156 <AdditionalLibraryDirectories>..\..\jenga\lib\x64;..\lib\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>157 <GenerateDebugInformation>true</GenerateDebugInformation>158 152 <SubSystem>Windows</SubSystem> 159 153 <TargetMachine>MachineX64</TargetMachine> … … 180 174 <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions> 181 175 <Optimization>MinSpace</Optimization> 182 <PreprocessorDefinitions> WIN32;NDEBUG;_WINDOWS;JPN;WINVER=0x040A;_WIN32_WINNT=0x0403;_WIN32_WINDOWS=0x0400;_WIN32_IE=0x0401;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions>176 <PreprocessorDefinitions>NDEBUG;_WINDOWS;JPN;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 183 177 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 184 178 <PrecompiledHeader>Use</PrecompiledHeader> … … 192 186 <Link> 193 187 <AdditionalDependencies>unicows.lib;comctl32.lib;imm32.lib;htmlhelp.lib;rpcrt4.lib;imagehlp.lib;tinyxml_STL.lib;dwmapi.lib;%(AdditionalDependencies)</AdditionalDependencies> 194 <AdditionalLibraryDirectories>..\..\jenga\lib\x86;..\lib\x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>195 188 <DelayLoadDLLs>PSAPI.DLL;DWMAPI.DLL;%(DelayLoadDLLs)</DelayLoadDLLs> 196 <GenerateDebugInformation>true</GenerateDebugInformation>197 189 <GenerateMapFile>true</GenerateMapFile> 198 190 <SubSystem>Windows</SubSystem> … … 222 214 <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions> 223 215 <Optimization>MinSpace</Optimization> 224 <PreprocessorDefinitions> WIN32;NDEBUG;_WINDOWS;JPN;WINVER=0x0501;_WIN32_WINNT=0x0501;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions>216 <PreprocessorDefinitions>NDEBUG;_WINDOWS;JPN;TIXML_USE_STL;%(PreprocessorDefinitions)</PreprocessorDefinitions> 225 217 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 226 218 <PrecompiledHeader>Use</PrecompiledHeader> … … 234 226 <Link> 235 227 <AdditionalDependencies>comctl32.lib;imm32.lib;htmlhelp.lib;rpcrt4.lib;imagehlp.lib;tinyxml_STL.lib;%(AdditionalDependencies)</AdditionalDependencies> 236 <AdditionalLibraryDirectories>..\..\jenga\lib\x64;..\lib\x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>237 228 <DelayLoadDLLs>PSAPI.DLL;%(DelayLoadDLLs)</DelayLoadDLLs> 238 <GenerateDebugInformation>true</GenerateDebugInformation>239 229 <GenerateMapFile>true</GenerateMapFile> 240 230 <SubSystem>Windows</SubSystem> -
branches/egtra/ab5.0/abdev/compiler.vcxproj
r781 r798 26 26 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> 27 27 <ConfigurationType>Application</ConfigurationType> 28 <UseOfMfc>false</UseOfMfc>29 <CharacterSet>MultiByte</CharacterSet>30 <WholeProgramOptimization>false</WholeProgramOptimization>31 28 <PlatformToolset>Windows7.1SDK</PlatformToolset> 32 29 </PropertyGroup> 33 30 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> 34 31 <ConfigurationType>Application</ConfigurationType> 35 <UseOfMfc>false</UseOfMfc>36 32 <CharacterSet>MultiByte</CharacterSet> 37 33 <PlatformToolset>Windows7.1SDK</PlatformToolset> … … 39 35 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> 40 36 <ConfigurationType>Application</ConfigurationType> 41 <UseOfMfc>false</UseOfMfc>42 37 <CharacterSet>MultiByte</CharacterSet> 43 38 <WholeProgramOptimization>false</WholeProgramOptimization> … … 46 41 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> 47 42 <ConfigurationType>Application</ConfigurationType> 48 <UseOfMfc>false</UseOfMfc>49 43 <CharacterSet>MultiByte</CharacterSet> 50 44 <PlatformToolset>Windows7.1SDK</PlatformToolset> … … 55 49 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> 56 50 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 51 <Import Project="ab-common.props" /> 52 <Import Project="ab-common-32.props" /> 57 53 </ImportGroup> 58 54 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> 59 55 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 56 <Import Project="ab-common.props" /> 57 <Import Project="ab-common-32.props" /> 60 58 </ImportGroup> 61 59 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> 62 60 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 63 61 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> 62 <Import Project="ab-common.props" /> 63 <Import Project="ab-common-64.props" /> 64 64 </ImportGroup> 65 65 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> 66 66 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 67 67 <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" /> 68 <Import Project="ab-common.props" /> 69 <Import Project="ab-common-64.props" /> 68 70 </ImportGroup> 69 71 <PropertyGroup Label="UserMacros" /> … … 71 73 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> 72 74 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\build\$(Configuration)\bin\x86\</OutDir> 73 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)-$(Platform)\</IntDir>74 75 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> 75 76 <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\build\$(Configuration)\bin\x64\</OutDir> 76 <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)-$(Platform)\</IntDir>77 77 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental> 78 78 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\build\$(Configuration)\bin\x86\</OutDir> 79 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)-$(Platform)\</IntDir>80 79 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> 81 80 <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">.\build\$(Configuration)\bin\x64\</OutDir> 82 <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Configuration)-$(Platform)\</IntDir>83 81 <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> 84 82 <TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">abc</TargetName> … … 99 97 <ClCompile> 100 98 <Optimization>Disabled</Optimization> 101 <AdditionalIncludeDirectories>..\; ..\cpplibs\boost;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>102 <PreprocessorDefinitions> WIN32;_DEBUG;_WINDOWS;JPN;%(PreprocessorDefinitions)</PreprocessorDefinitions>99 <AdditionalIncludeDirectories>..\;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 100 <PreprocessorDefinitions>_DEBUG;_WINDOWS;JPN;%(PreprocessorDefinitions)</PreprocessorDefinitions> 103 101 <MinimalRebuild>false</MinimalRebuild> 104 102 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> … … 106 104 <PrecompiledHeader>Use</PrecompiledHeader> 107 105 <WarningLevel>Level3</WarningLevel> 108 <SuppressStartupBanner>true</SuppressStartupBanner>109 106 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> 110 <MultiProcessorCompilation>true</MultiProcessorCompilation>111 107 </ClCompile> 112 108 <ResourceCompile> … … 141 137 <ClCompile> 142 138 <Optimization>Disabled</Optimization> 143 <AdditionalIncludeDirectories>..\; ..\cpplibs\boost;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>144 <PreprocessorDefinitions> WIN32;_DEBUG;_WINDOWS;JPN;_AMD64_;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>139 <AdditionalIncludeDirectories>..\;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 140 <PreprocessorDefinitions>_DEBUG;_WINDOWS;JPN;_AMD64_;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions> 145 141 <MinimalRebuild>false</MinimalRebuild> 146 142 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> … … 149 145 <AssemblerListingLocation>.\Debug/</AssemblerListingLocation> 150 146 <WarningLevel>Level3</WarningLevel> 151 <SuppressStartupBanner>true</SuppressStartupBanner>152 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>153 <MultiProcessorCompilation>true</MultiProcessorCompilation>154 147 </ClCompile> 155 148 <ResourceCompile> … … 185 178 <ClCompile> 186 179 <Optimization>MaxSpeed</Optimization> 187 <AdditionalIncludeDirectories>..\; ..\cpplibs\boost;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>188 <PreprocessorDefinitions> WIN32;NDEBUG;_WINDOWS;JPN;%(PreprocessorDefinitions)</PreprocessorDefinitions>180 <AdditionalIncludeDirectories>..\;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 181 <PreprocessorDefinitions>NDEBUG;_WINDOWS;JPN;%(PreprocessorDefinitions)</PreprocessorDefinitions> 189 182 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 190 183 <PrecompiledHeader>Use</PrecompiledHeader> 191 184 <WarningLevel>Level3</WarningLevel> 192 <SuppressStartupBanner>true</SuppressStartupBanner>193 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>194 <MultiProcessorCompilation>true</MultiProcessorCompilation>195 185 </ClCompile> 196 186 <ResourceCompile> … … 228 218 <ClCompile> 229 219 <Optimization>MaxSpeed</Optimization> 230 <AdditionalIncludeDirectories>..\; ..\cpplibs\boost;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>231 <PreprocessorDefinitions> WIN32;NDEBUG;_WINDOWS;JPN;_AMD64_;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>220 <AdditionalIncludeDirectories>..\;BasicCompiler_Common\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 221 <PreprocessorDefinitions>NDEBUG;_WINDOWS;JPN;_AMD64_;_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions> 232 222 <RuntimeLibrary>MultiThreaded</RuntimeLibrary> 233 223 <PrecompiledHeader>Use</PrecompiledHeader> 234 224 <AssemblerListingLocation>.\Release/</AssemblerListingLocation> 235 225 <WarningLevel>Level3</WarningLevel> 236 <SuppressStartupBanner>true</SuppressStartupBanner>237 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>238 <MultiProcessorCompilation>true</MultiProcessorCompilation>239 226 </ClCompile> 240 227 <ResourceCompile>
Note:
See TracChangeset
for help on using the changeset viewer.