| Revision | 9cfe38c06308573d9964e4e1d16d87d1b884930c (tree) |
|---|---|
| Time | 2012-03-13 01:04:01 |
| Author | qwerty2501 <qwerty2501@user...> |
| Commiter | qwerty2501 |
一旦もとに戻す
| @@ -19,20 +19,16 @@ CAppModule _Module; | ||
| 19 | 19 | int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE, |
| 20 | 20 | LPTSTR lpCmdLine, int nCmdShow) |
| 21 | 21 | { |
| 22 | - | |
| 23 | - AtlInitCommonControls(ICC_COOL_CLASSES | ICC_WIN95_CLASSES); | |
| 24 | 22 | HINSTANCE hRich = LoadLibrary(CRichEditCtrl::GetLibraryName()); |
| 25 | 23 | int nRet = -1; |
| 26 | 24 | try{ |
| 27 | - | |
| 28 | - | |
| 29 | - | |
| 25 | + | |
| 30 | 26 | // |
| 31 | 27 | //アプリケケーション初期化処理 |
| 32 | 28 | // |
| 33 | 29 | HRESULT hRes = ::CoInitialize(NULL); |
| 34 | 30 | ATLASSERT(SUCCEEDED(hRes)); |
| 35 | - | |
| 31 | + AtlInitCommonControls(ICC_COOL_CLASSES | ICC_WIN95_CLASSES); | |
| 36 | 32 | GUID guid; |
| 37 | 33 | if(_Module.Init(NULL, hInstance,&guid) != S_OK){ |
| 38 | 34 | throw AppInitException(__LINE__,TEXT(__FILE__),TEXT(__FUNCTION__)); |
| @@ -1,18 +1,11 @@ | ||
| 1 | 1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
| 2 | 2 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> |
| 3 | - <assemblyIdentity | |
| 4 | - version="1.0.0.0" | |
| 5 | - processorArchitecture="X86" | |
| 6 | - name="CompanyName.ProductName.nlite" | |
| 7 | - type="win32"> | |
| 8 | - <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> | |
| 9 | - <security> | |
| 10 | - <requestedPrivileges> | |
| 11 | - <requestedExecutionLevel level="asInvoker"/> | |
| 12 | - </requestedPrivileges> | |
| 13 | - </security> | |
| 14 | - </trustInfo> | |
| 15 | - </assemblyIdentity> | |
| 3 | +<assemblyIdentity | |
| 4 | + version="1.0.0.0" | |
| 5 | + processorArchitecture="X86" | |
| 6 | + name="CompanyName.ProductName.nlite" | |
| 7 | + type="win32" | |
| 8 | +/> | |
| 16 | 9 | <description>アプリケーションの説明</description> |
| 17 | 10 | <dependency> |
| 18 | 11 | <dependentAssembly> |
| @@ -1,5 +1,5 @@ | ||
| 1 | -// Generated by ResEdit 1.5.10 | |
| 2 | -// Copyright (C) 2006-2012 | |
| 1 | +// Generated by ResEdit 1.5.9 | |
| 2 | +// Copyright (C) 2006-2011 | |
| 3 | 3 | // http://www.resedit.net |
| 4 | 4 | |
| 5 | 5 | #include <windows.h> |
| @@ -208,4 +208,4 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL | ||
| 208 | 208 | // Manifest resources |
| 209 | 209 | // |
| 210 | 210 | LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL |
| 211 | -2 RT_MANIFEST ".\\nlite.exe.manifest" | |
| 211 | +CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "nlite.exe.manifest" |
| @@ -72,28 +72,31 @@ | ||
| 72 | 72 | <EmbedManifest>false</EmbedManifest> |
| 73 | 73 | <CustomBuildAfterTargets> |
| 74 | 74 | </CustomBuildAfterTargets> |
| 75 | - <GenerateManifest>false</GenerateManifest> | |
| 76 | - <LibraryPath>$(SolutionDir)$(Configuration);$(LibraryPath);$(WinDDK)lib\ATL\i386</LibraryPath> | |
| 75 | + <ReferencePath>$(Projectdir)$(configuration);$(ReferencePath);$(ReferencePath)</ReferencePath> | |
| 76 | + <LibraryPath>$(solutiondir)$(configuration);$(LibraryPath)</LibraryPath> | |
| 77 | 77 | </PropertyGroup> |
| 78 | 78 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'"> |
| 79 | 79 | <LinkIncremental>true</LinkIncremental> |
| 80 | 80 | <IncludePath>$(solutiondir)\nlib;$(solutiondir)\include\WTL\include;$(solutiondir);$(solutiondir)\include;$(solutiondir)\expat;$(solutiondir)nlib\;$(solutiondir)memorypool\;$(solutiondir)shareCookie\;$(solutiondir);$(IncludePath);$(solutiondir)\speaker;$(IncludePath);$(IncludePath)</IncludePath> |
| 81 | 81 | <CustomBuildAfterTargets> |
| 82 | 82 | </CustomBuildAfterTargets> |
| 83 | - <LibraryPath>$(SolutionDir)$(Configuration);$(LibraryPath);$(WinDDK)lib\ATL\i386</LibraryPath> | |
| 83 | + <ReferencePath>$(Projectdir)$(configuration);$(ReferencePath);$(ReferencePath)</ReferencePath> | |
| 84 | + <LibraryPath>$(solutiondir)$(configuration);$(LibraryPath)</LibraryPath> | |
| 84 | 85 | </PropertyGroup> |
| 85 | 86 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
| 86 | 87 | <LinkIncremental>false</LinkIncremental> |
| 87 | 88 | <IncludePath>$(solutiondir)\nlib;$(solutiondir)\include\WTL\include;$(solutiondir);$(solutiondir)\include;$(solutiondir)\expat;$(WDDK)inc\atl71;$(BOOST);$(IncludePath);$(solutiondir)\speaker;$(IncludePath);$(IncludePath)</IncludePath> |
| 88 | 89 | <CustomBuildAfterTargets> |
| 89 | 90 | </CustomBuildAfterTargets> |
| 90 | - <LibraryPath>$(SolutionDir)$(Configuration);$(LibraryPath);$(WinDDK)lib\ATL\i386</LibraryPath> | |
| 91 | + <ReferencePath>$(Projectdir)$(configuration);$(ReferencePath);$(ReferencePath)</ReferencePath> | |
| 92 | + <LibraryPath>$(solutiondir)$(configuration);$(LibraryPath)</LibraryPath> | |
| 91 | 93 | </PropertyGroup> |
| 92 | 94 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Preview|Win32'"> |
| 93 | 95 | <LinkIncremental>false</LinkIncremental> |
| 94 | 96 | <IncludePath>$(solutiondir)\nlib;$(solutiondir)\include\WTL\include;$(solutiondir);$(solutiondir)\include;$(solutiondir)\expat;$(WDDK)inc\atl71;$(BOOST);$(IncludePath);$(solutiondir)\speaker;$(IncludePath);$(IncludePath)</IncludePath> |
| 95 | 97 | <CustomBuildAfterTargets /> |
| 96 | - <LibraryPath>$(SolutionDir)$(Configuration);$(LibraryPath);$(WinDDK)lib\ATL\i386</LibraryPath> | |
| 98 | + <ReferencePath>$(ReferencePath);$(ReferencePath)</ReferencePath> | |
| 99 | + <LibraryPath>$(solutiondir)$(configuration);$(LibraryPath)</LibraryPath> | |
| 97 | 100 | </PropertyGroup> |
| 98 | 101 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
| 99 | 102 | <ClCompile> |
| @@ -119,9 +122,6 @@ | ||
| 119 | 122 | <Command>mkdir "$(targetdir)libs" /y |
| 120 | 123 | xcopy "$(ProjectDir)libs" "$(targetdir)libs" /e /y</Command> |
| 121 | 124 | </PostBuildEvent> |
| 122 | - <Manifest> | |
| 123 | - <AdditionalManifestFiles>$(Projectdir)$(TargetfileName).manifest</AdditionalManifestFiles> | |
| 124 | - </Manifest> | |
| 125 | 125 | </ItemDefinitionGroup> |
| 126 | 126 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'"> |
| 127 | 127 | <ClCompile> |
| @@ -147,9 +147,6 @@ xcopy "$(ProjectDir)libs" "$(targetdir)libs" /e /y</Command> | ||
| 147 | 147 | <Command>mkdir "$(targetdir)libs" /y |
| 148 | 148 | xcopy "$(ProjectDir)libs" "$(targetdir)libs" /e /y</Command> |
| 149 | 149 | </PostBuildEvent> |
| 150 | - <Manifest> | |
| 151 | - <AdditionalManifestFiles>$(Projectdir)$(TargetfileName).manifest</AdditionalManifestFiles> | |
| 152 | - </Manifest> | |
| 153 | 150 | </ItemDefinitionGroup> |
| 154 | 151 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
| 155 | 152 | <ClCompile> |
| @@ -180,9 +177,6 @@ xcopy "$(ProjectDir)libs" "$(targetdir)libs" /e /y</Command> | ||
| 180 | 177 | xcopy "$(ProjectDir)libs" "$(targetdir)nlite\libs" /e /y |
| 181 | 178 | copy "$(targetdir)nlite.exe" "$(targetdir)nlite\" /y</Command> |
| 182 | 179 | </PostBuildEvent> |
| 183 | - <Manifest> | |
| 184 | - <AdditionalManifestFiles>$(Projectdir)$(TargetfileName).manifest</AdditionalManifestFiles> | |
| 185 | - </Manifest> | |
| 186 | 180 | </ItemDefinitionGroup> |
| 187 | 181 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Preview|Win32'"> |
| 188 | 182 | <ClCompile> |
| @@ -216,10 +210,6 @@ copy "$(targetdir)nlite.exe" "$(targetdir)nlite_preview\" /y | ||
| 216 | 210 | |
| 217 | 211 | </Command> |
| 218 | 212 | </PostBuildEvent> |
| 219 | - <Manifest> | |
| 220 | - <AdditionalManifestFiles> | |
| 221 | - </AdditionalManifestFiles> | |
| 222 | - </Manifest> | |
| 223 | 213 | </ItemDefinitionGroup> |
| 224 | 214 | <ItemGroup> |
| 225 | 215 | <None Include="nlite.ico" /> |
| @@ -272,9 +262,7 @@ copy "$(targetdir)nlite.exe" "$(targetdir)nlite_preview\" /y | ||
| 272 | 262 | <ResourceCompile Include="nlite.rc" /> |
| 273 | 263 | </ItemGroup> |
| 274 | 264 | <ItemGroup> |
| 275 | - <Manifest Include="nlite.exe.manifest"> | |
| 276 | - <SubType>Designer</SubType> | |
| 277 | - </Manifest> | |
| 265 | + <Manifest Include="nlite.exe.manifest" /> | |
| 278 | 266 | </ItemGroup> |
| 279 | 267 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 280 | 268 | <ImportGroup Label="ExtensionTargets"> |
| @@ -76,6 +76,8 @@ extern CAppModule _Module; | ||
| 76 | 76 | #include <exdispid.h> |
| 77 | 77 | #include <xmllite.h> |
| 78 | 78 | |
| 79 | + | |
| 80 | + | |
| 79 | 81 | #pragma comment(lib, "xmllite.lib") |
| 80 | 82 | #pragma comment(lib,"ComCtl32.lib") |
| 81 | 83 | #pragma comment(lib,"atlthunk.lib") |