| Revision | 641888650087541f1a51f23c3e84533d9d722267 (tree) |
|---|---|
| Time | 2012-02-26 11:38:07 |
| Author | qwerty2501 <riot313@gmai...> |
| Commiter | qwerty2501 |
リリースビルド向けにプロジェクト設定変更
| @@ -0,0 +1,78 @@ | ||
| 1 | +=============================================================================== | |
| 2 | + HTS Voice "Mei (Normal)" version 1.1 | |
| 3 | + release August 3, 2011 | |
| 4 | + | |
| 5 | + | |
| 6 | +The work is released as a part of MMDAgent (http://www.mmdagent.jp/). | |
| 7 | + | |
| 8 | +******************************************************************************* | |
| 9 | + Copying | |
| 10 | +******************************************************************************* | |
| 11 | + | |
| 12 | +# ----------------------------------------------------------------- # | |
| 13 | +# HTS Voice "Mei (Normal)" # | |
| 14 | +# released by MMDAgent Project Team # | |
| 15 | +# http://www.mmdagent.jp/ # | |
| 16 | +# ----------------------------------------------------------------- # | |
| 17 | +# # | |
| 18 | +# Copyright (c) 2009-2011 Nagoya Institute of Technology # | |
| 19 | +# Department of Computer Science # | |
| 20 | +# # | |
| 21 | +# Some rights reserved. # | |
| 22 | +# # | |
| 23 | +# This work is licensed under the Creative Commons Attribution 3.0 # | |
| 24 | +# license. # | |
| 25 | +# # | |
| 26 | +# You are free: # | |
| 27 | +# * to Share - to copy, distribute and transmit the work # | |
| 28 | +# * to Remix - to adapt the work # | |
| 29 | +# Under the following conditions: # | |
| 30 | +# * Attribution - You must attribute the work in the manner # | |
| 31 | +# specified by the author or licensor (but not in any way that # | |
| 32 | +# suggests that they endorse you or your use of the work). # | |
| 33 | +# With the understanding that: # | |
| 34 | +# * Waiver - Any of the above conditions can be waived if you get # | |
| 35 | +# permission from the copyright holder. # | |
| 36 | +# * Public Domain - Where the work or any of its elements is in # | |
| 37 | +# the public domain under applicable law, that status is in no # | |
| 38 | +# way affected by the license. # | |
| 39 | +# * Other Rights - In no way are any of the following rights # | |
| 40 | +# affected by the license: # | |
| 41 | +# - Your fair dealing or fair use rights, or other applicable # | |
| 42 | +# copyright exceptions and limitations; # | |
| 43 | +# - The author's moral rights; # | |
| 44 | +# - Rights other persons may have either in the work itself or # | |
| 45 | +# in how the work is used, such as publicity or privacy # | |
| 46 | +# rights. # | |
| 47 | +# * Notice - For any reuse or distribution, you must make clear to # | |
| 48 | +# others the license terms of this work. The best way to do this # | |
| 49 | +# is with a link to this web page. # | |
| 50 | +# # | |
| 51 | +# See http://creativecommons.org/ for details. # | |
| 52 | +# ----------------------------------------------------------------- # | |
| 53 | + | |
| 54 | +See also "COPYRIGHT.txt" file in the current directory for details. | |
| 55 | + | |
| 56 | +******************************************************************************* | |
| 57 | + Acknowledgements | |
| 58 | +******************************************************************************* | |
| 59 | + | |
| 60 | +Keiichi Tokuda | |
| 61 | +Akinobu Lee | |
| 62 | +Keiichiro Oura | |
| 63 | + | |
| 64 | +******************************************************************************* | |
| 65 | + Who we are | |
| 66 | +******************************************************************************* | |
| 67 | + | |
| 68 | +The MMDAgent project team is a voluntary group for developing the Toolkit for | |
| 69 | +Building Voice Interaction System. Current members are | |
| 70 | + | |
| 71 | + Keiichi Tokuda http://www.sp.nitech.ac.jp/~tokuda/ | |
| 72 | + Akinobu Lee http://www.sp.nitech.ac.jp/~ri/ | |
| 73 | + Keiichiro Oura http://www.sp.nitech.ac.jp/~uratec/ | |
| 74 | + | |
| 75 | +and the members are dynamically changing. The current formal contact address of | |
| 76 | +MMDAgent project team and a mailing list for MMDAgent users can be found at | |
| 77 | +http://www.mmdagent.jp/ | |
| 78 | +=============================================================================== |
| @@ -50,13 +50,13 @@ | ||
| 50 | 50 | </ImportGroup> |
| 51 | 51 | <PropertyGroup Label="UserMacros" /> |
| 52 | 52 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
| 53 | - <IncludePath>$(SolutionDir);$(SolutionDir)\include;$(IncludePath)</IncludePath> | |
| 53 | + <IncludePath>$(SolutionDir);$(SolutionDir)\include;$(IncludePath);$(IncludePath)</IncludePath> | |
| 54 | 54 | </PropertyGroup> |
| 55 | 55 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'"> |
| 56 | - <IncludePath>$(SolutionDir);$(SolutionDir)\include;$(SolutionDir);$(SolutionDir)\nlite;$(IncludePath)</IncludePath> | |
| 56 | + <IncludePath>$(SolutionDir);$(SolutionDir)\include;$(SolutionDir);$(SolutionDir)\nlite;$(IncludePath);$(IncludePath)</IncludePath> | |
| 57 | 57 | </PropertyGroup> |
| 58 | 58 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
| 59 | - <IncludePath>$(SolutionDir);$(SolutionDir)\include;$(SolutionDir);$(VCInstallDir)include;$(WindowsSdkDir)include;$(SolutionDir)include</IncludePath> | |
| 59 | + <IncludePath>$(SolutionDir);$(SolutionDir)\include;$(VCInstallDir)include;$(SolutionDir)include;$(IncludePath);$(IncludePath)</IncludePath> | |
| 60 | 60 | </PropertyGroup> |
| 61 | 61 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
| 62 | 62 | <ClCompile> |
| @@ -96,7 +96,7 @@ | ||
| 96 | 96 | <Optimization>MaxSpeed</Optimization> |
| 97 | 97 | <FunctionLevelLinking>true</FunctionLevelLinking> |
| 98 | 98 | <IntrinsicFunctions>true</IntrinsicFunctions> |
| 99 | - <PreprocessorDefinitions>WIN32;XML_UNICODE_WCHAR_T;THREADSAFE_DEBUG;_LIB;XML_UNICODE_WCHAR_T;_CRT_SECURE_NO_DEPRECATE;THREADSAFENDEBUG;_LIB;%(PreprocessorDefinitions);XML_UNICODE_WCHAR_T;_CRT_SECURE_NO_DEPRECATE;THREADSAFE</PreprocessorDefinitions> | |
| 99 | + <PreprocessorDefinitions>WIN32;XML_UNICODE_WCHAR_T;_LIB;_CRT_SECURE_NO_DEPRECATE;THREADSAFENDEBUG;%(PreprocessorDefinitions);THREADSAFE</PreprocessorDefinitions> | |
| 100 | 100 | </ClCompile> |
| 101 | 101 | <Link> |
| 102 | 102 | <SubSystem>Windows</SubSystem> |
| @@ -52,17 +52,17 @@ | ||
| 52 | 52 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
| 53 | 53 | <LinkIncremental>true</LinkIncremental> |
| 54 | 54 | <LibraryPath>$(SolutionDir)lib\$(Configuration);$(LibraryPath)</LibraryPath> |
| 55 | - <IncludePath>$(SolutionDir);$(SolutionDir)\Include;$(IncludePath)</IncludePath> | |
| 55 | + <IncludePath>$(SolutionDir);$(SolutionDir)\Include;$(SolutionDir)\Include;$(IncludePath)</IncludePath> | |
| 56 | 56 | </PropertyGroup> |
| 57 | 57 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'"> |
| 58 | 58 | <LinkIncremental>true</LinkIncremental> |
| 59 | 59 | <LibraryPath>$(SolutionDir)lib\$(Configuration);$(LibraryPath)</LibraryPath> |
| 60 | - <IncludePath>$(SolutionDir);$(IncludePath)</IncludePath> | |
| 60 | + <IncludePath>$(SolutionDir);$(SolutionDir)\Include;$(IncludePath)</IncludePath> | |
| 61 | 61 | </PropertyGroup> |
| 62 | 62 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
| 63 | 63 | <LinkIncremental>false</LinkIncremental> |
| 64 | 64 | <LibraryPath>$(SolutionDir)lib\$(Configuration);$(LibraryPath)</LibraryPath> |
| 65 | - <IncludePath>$(SolutionDir);$(IncludePath)</IncludePath> | |
| 65 | + <IncludePath>$(SolutionDir);$(SolutionDir)\Include;$(IncludePath)</IncludePath> | |
| 66 | 66 | </PropertyGroup> |
| 67 | 67 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
| 68 | 68 | <ClCompile> |
| @@ -52,20 +52,20 @@ | ||
| 52 | 52 | <PropertyGroup Label="UserMacros" /> |
| 53 | 53 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
| 54 | 54 | <LinkIncremental>true</LinkIncremental> |
| 55 | - <IncludePath>$(solutiondir)\nlib;$(solutiondir)\include\WTL\include;$(solutiondir);$(solutiondir)\include;$(solutiondir)\expat;$(IncludePath);$(solutiondir)\speaker;$(IncludePath)</IncludePath> | |
| 55 | + <IncludePath>$(solutiondir)\nlib;$(solutiondir)\include\WTL\include;$(solutiondir);$(solutiondir)\include;$(solutiondir)\expat;$(IncludePath);$(solutiondir)\speaker;$(IncludePath);$(IncludePath)</IncludePath> | |
| 56 | 56 | <EmbedManifest>false</EmbedManifest> |
| 57 | 57 | <CustomBuildAfterTargets> |
| 58 | 58 | </CustomBuildAfterTargets> |
| 59 | 59 | </PropertyGroup> |
| 60 | 60 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'"> |
| 61 | 61 | <LinkIncremental>true</LinkIncremental> |
| 62 | - <IncludePath>$(solutiondir)\nlib;$(solutiondir)\include\WTL\include;$(solutiondir);$(solutiondir)\include;$(solutiondir)\expat;$(solutiondir)nlib\;$(solutiondir)memorypool\;$(solutiondir)shareCookie\;$(solutiondir);$(IncludePath);$(solutiondir)\speaker;$(IncludePath)</IncludePath> | |
| 62 | + <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> | |
| 63 | 63 | <CustomBuildAfterTargets> |
| 64 | 64 | </CustomBuildAfterTargets> |
| 65 | 65 | </PropertyGroup> |
| 66 | 66 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
| 67 | 67 | <LinkIncremental>false</LinkIncremental> |
| 68 | - <IncludePath>$(solutiondir)\nlib;$(solutiondir)\include\WTL\include;$(solutiondir);$(solutiondir)\include;$(solutiondir)\expat;$(WDDK)inc\atl71;$(BOOST);$(IncludePath);$(solutiondir)\speaker;$(IncludePath)</IncludePath> | |
| 68 | + <IncludePath>$(solutiondir)\nlib;$(solutiondir)\include\WTL\include;$(solutiondir);$(solutiondir)\include;$(solutiondir)\expat;$(WDDK)inc\atl71;$(BOOST);$(IncludePath);$(solutiondir)\speaker;$(IncludePath);$(IncludePath)</IncludePath> | |
| 69 | 69 | <CustomBuildAfterTargets> |
| 70 | 70 | </CustomBuildAfterTargets> |
| 71 | 71 | </PropertyGroup> |
| @@ -115,7 +115,8 @@ xcopy "$(ProjectDir)libs" "$(targetdir)libs" /e /y</Command> | ||
| 115 | 115 | </Command> |
| 116 | 116 | </PreBuildEvent> |
| 117 | 117 | <PostBuildEvent> |
| 118 | - <Command>xcopy "$(ProjectDir)output" "$(targetdir)" /e /y</Command> | |
| 118 | + <Command>mkdir "$(targetdir)libs" /y | |
| 119 | +xcopy "$(ProjectDir)libs" "$(targetdir)libs" /e /y</Command> | |
| 119 | 120 | </PostBuildEvent> |
| 120 | 121 | </ItemDefinitionGroup> |
| 121 | 122 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
| @@ -125,7 +126,7 @@ xcopy "$(ProjectDir)libs" "$(targetdir)libs" /e /y</Command> | ||
| 125 | 126 | <Optimization>MaxSpeed</Optimization> |
| 126 | 127 | <FunctionLevelLinking>true</FunctionLevelLinking> |
| 127 | 128 | <IntrinsicFunctions>true</IntrinsicFunctions> |
| 128 | - <PreprocessorDefinitions>WIN32;XML_UNICODE_WCHAR_T;_DEBUG;_CRT_SECURE_NO_WARNINGS;XML_UNICODE_WCHAR_TNDEBUG;_WINDOWS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
| 129 | + <PreprocessorDefinitions>WIN32;XML_UNICODE_WCHAR_T;_CRT_SECURE_NO_WARNINGS;XML_UNICODE_WCHAR_TNDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | |
| 129 | 130 | </ClCompile> |
| 130 | 131 | <Link> |
| 131 | 132 | <SubSystem>Windows</SubSystem> |
| @@ -143,7 +144,8 @@ xcopy "$(ProjectDir)libs" "$(targetdir)libs" /e /y</Command> | ||
| 143 | 144 | </Command> |
| 144 | 145 | </PreBuildEvent> |
| 145 | 146 | <PostBuildEvent> |
| 146 | - <Command>xcopy "$(ProjectDir)output" "$(targetdir)" /e /y</Command> | |
| 147 | + <Command>mkdir "$(targetdir)libs" /y | |
| 148 | +xcopy "$(ProjectDir)libs" "$(targetdir)libs" /e /y</Command> | |
| 147 | 149 | </PostBuildEvent> |
| 148 | 150 | </ItemDefinitionGroup> |
| 149 | 151 | <ItemGroup> |
| @@ -7,7 +7,7 @@ | ||
| 7 | 7 | |
| 8 | 8 | #include "targetver.h" |
| 9 | 9 | |
| 10 | -#define DEBUG //リリースビルドでもデバッグ関数が有効になる | |
| 10 | +//#define DEBUG //リリースビルドでもデバッグ関数が有効になる | |
| 11 | 11 | #define WIN32_LEAN_AND_MEAN // Windows ヘッダーから使用されていない部分を除外します。 |
| 12 | 12 | #define _CRT_SECURE_NO_WARNINGS 1 //vc++のおせっかいな警告を消す |
| 13 | 13 | #define _CRT_NON_CONFORMING_SWPRINTFS 1 //vc++のおせっかいな警告を消す |
| @@ -46,12 +46,15 @@ | ||
| 46 | 46 | </ImportGroup> |
| 47 | 47 | <PropertyGroup Label="UserMacros" /> |
| 48 | 48 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
| 49 | - <IncludePath>$(solutiondir);$(SolutionDir)\include;$(IncludePath)</IncludePath> | |
| 49 | + <IncludePath>$(solutiondir);$(SolutionDir)\include;$(IncludePath);$(IncludePath)</IncludePath> | |
| 50 | 50 | </PropertyGroup> |
| 51 | 51 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'"> |
| 52 | - <IncludePath>$(Solutiondir);$(Solutiondir)include\;$(IncludePath)</IncludePath> | |
| 52 | + <IncludePath>$(solutiondir);$(SolutionDir)\include;$(Solutiondir);$(Solutiondir)include\;$(IncludePath);$(IncludePath)</IncludePath> | |
| 53 | 53 | <TargetExt>.lib</TargetExt> |
| 54 | 54 | </PropertyGroup> |
| 55 | + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | |
| 56 | + <IncludePath>$(solutiondir);$(SolutionDir)\include;$(APR)include;$(boost);$(WINDDK)inc\atl71;$(IncludePath);$(IncludePath)</IncludePath> | |
| 57 | + </PropertyGroup> | |
| 55 | 58 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
| 56 | 59 | <ClCompile> |
| 57 | 60 | <PrecompiledHeader> |
| @@ -45,8 +45,6 @@ | ||
| 45 | 45 | #include "jpcommon.h" |
| 46 | 46 | #include "HTS_engine.h" |
| 47 | 47 | |
| 48 | -#define OPENJTALK_EXPORTS | |
| 49 | - | |
| 50 | 48 | #include "open_jtalk_lib.h" |
| 51 | 49 | |
| 52 | 50 |
| @@ -25,7 +25,7 @@ | ||
| 25 | 25 | <ConfigurationType>StaticLibrary</ConfigurationType> |
| 26 | 26 | <UseDebugLibraries>false</UseDebugLibraries> |
| 27 | 27 | <WholeProgramOptimization>true</WholeProgramOptimization> |
| 28 | - <CharacterSet>Unicode</CharacterSet> | |
| 28 | + <CharacterSet>MultiByte</CharacterSet> | |
| 29 | 29 | </PropertyGroup> |
| 30 | 30 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
| 31 | 31 | <ImportGroup Label="ExtensionSettings"> |
| @@ -41,7 +41,7 @@ | ||
| 41 | 41 | <IncludePath>$(ProjectDir)hts_engine_API\include;$(ProjectDir)open_jtalk\mecab\src;$(ProjectDir)open_jtalk\mecab2njd;$(ProjectDir)open_jtalk\njd;$(ProjectDir)open_jtalk\njd_set_accent_phrase;$(ProjectDir)open_jtalk\njd_set_accent_type;$(ProjectDir)open_jtalk\njd_set_digit;$(ProjectDir)open_jtalk\njd_set_long_vowel;$(ProjectDir)open_jtalk\njd_set_pronunciation;$(ProjectDir)open_jtalk\njd_set_unvoiced_vowel;$(ProjectDir)open_jtalk\njd2jpcommon;$(ProjectDir)open_jtalk\text2mecab;$(ProjectDir)open_jtalk\jpcommon;$(IncludePath)</IncludePath> |
| 42 | 42 | </PropertyGroup> |
| 43 | 43 | <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> |
| 44 | - <IncludePath>$(IncludePath)</IncludePath> | |
| 44 | + <IncludePath>$(ProjectDir)hts_engine_API\include;$(ProjectDir)open_jtalk\mecab\src;$(ProjectDir)open_jtalk\mecab2njd;$(ProjectDir)open_jtalk\njd;$(ProjectDir)open_jtalk\njd_set_accent_phrase;$(ProjectDir)open_jtalk\njd_set_accent_type;$(ProjectDir)open_jtalk\njd_set_digit;$(ProjectDir)open_jtalk\njd_set_long_vowel;$(ProjectDir)open_jtalk\njd_set_pronunciation;$(ProjectDir)open_jtalk\njd_set_unvoiced_vowel;$(ProjectDir)open_jtalk\njd2jpcommon;$(ProjectDir)open_jtalk\text2mecab;$(ProjectDir)open_jtalk\jpcommon;$(IncludePath)</IncludePath> | |
| 45 | 45 | </PropertyGroup> |
| 46 | 46 | <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
| 47 | 47 | <ClCompile> |
| @@ -77,7 +77,6 @@ | ||
| 77 | 77 | <None Include="ReadMe.txt" /> |
| 78 | 78 | </ItemGroup> |
| 79 | 79 | <ItemGroup> |
| 80 | - <ClCompile Include="hts_engine_API\bin\hts_engine.c" /> | |
| 81 | 80 | <ClCompile Include="hts_engine_API\lib\HTS_audio.c" /> |
| 82 | 81 | <ClCompile Include="hts_engine_API\lib\HTS_engine.c" /> |
| 83 | 82 | <ClCompile Include="hts_engine_API\lib\HTS_gstream.c" /> |
| @@ -105,7 +104,6 @@ | ||
| 105 | 104 | <ClCompile Include="open_jtalk\mecab\src\learner.cpp" /> |
| 106 | 105 | <ClCompile Include="open_jtalk\mecab\src\learner_tagger.cpp" /> |
| 107 | 106 | <ClCompile Include="open_jtalk\mecab\src\libmecab.cpp" /> |
| 108 | - <ClCompile Include="open_jtalk\mecab\src\mecab-dict-index.cpp" /> | |
| 109 | 107 | <ClCompile Include="open_jtalk\mecab\src\mecab.cpp" /> |
| 110 | 108 | <ClCompile Include="open_jtalk\mecab\src\nbest_generator.cpp" /> |
| 111 | 109 | <ClCompile Include="open_jtalk\mecab\src\param.cpp" /> |
| @@ -63,9 +63,6 @@ | ||
| 63 | 63 | <ClCompile Include="open_jtalk\mecab\src\mecab.cpp"> |
| 64 | 64 | <Filter>ソース ファイル\lib</Filter> |
| 65 | 65 | </ClCompile> |
| 66 | - <ClCompile Include="open_jtalk\mecab\src\mecab-dict-index.cpp"> | |
| 67 | - <Filter>ソース ファイル\lib</Filter> | |
| 68 | - </ClCompile> | |
| 69 | 66 | <ClCompile Include="open_jtalk\mecab\src\libmecab.cpp"> |
| 70 | 67 | <Filter>ソース ファイル\lib</Filter> |
| 71 | 68 | </ClCompile> |
| @@ -111,12 +108,6 @@ | ||
| 111 | 108 | <ClCompile Include="hts_engine_API\lib\HTS_gstream.c"> |
| 112 | 109 | <Filter>ソース ファイル\lib</Filter> |
| 113 | 110 | </ClCompile> |
| 114 | - <ClCompile Include="hts_engine_API\bin\hts_engine.c"> | |
| 115 | - <Filter>ソース ファイル\lib</Filter> | |
| 116 | - </ClCompile> | |
| 117 | - <ClCompile Include="hts_engine_API\lib\HTS_engine.c"> | |
| 118 | - <Filter>ソース ファイル\lib</Filter> | |
| 119 | - </ClCompile> | |
| 120 | 111 | <ClCompile Include="hts_engine_API\lib\HTS_audio.c"> |
| 121 | 112 | <Filter>ソース ファイル\lib</Filter> |
| 122 | 113 | </ClCompile> |
| @@ -171,6 +162,9 @@ | ||
| 171 | 162 | <ClCompile Include="open_jtalk\mecab\src\writer.cpp"> |
| 172 | 163 | <Filter>ソース ファイル\lib</Filter> |
| 173 | 164 | </ClCompile> |
| 165 | + <ClCompile Include="hts_engine_API\lib\HTS_engine.c"> | |
| 166 | + <Filter>ソース ファイル\lib</Filter> | |
| 167 | + </ClCompile> | |
| 174 | 168 | </ItemGroup> |
| 175 | 169 | <ItemGroup> |
| 176 | 170 | <ClInclude Include="open_jtalk_lib.h"> |
| @@ -951,10 +951,11 @@ BROWSERTYPE getDefaultBrowserType(){ | ||
| 951 | 951 | DWORD cName = sizeof(browserName); |
| 952 | 952 | HKEY hKey; |
| 953 | 953 | //レジストリキーを読み取り専用でオープン |
| 954 | - if(RegOpenKeyEx(HKEY_CURRENT_USER,L"Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\https\\UserChoice",0,KEY_READ,&hKey) != ERROR_SUCCESS){ | |
| 954 | + if(RegOpenKeyEx(HKEY_CURRENT_USER,L"Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\http\\UserChoice",0,KEY_READ,&hKey) != ERROR_SUCCESS){ | |
| 955 | 955 | return COOKIE_ERR_INTERNETOPTION_NOTOPEN; |
| 956 | 956 | } |
| 957 | 957 | |
| 958 | + RegQueryValueEx(hKey,TEXT("Progid"),(LPDWORD)NULL,(LPDWORD)NULL,(LPBYTE)&browserName,&cName); | |
| 958 | 959 | |
| 959 | 960 | if(_tcscmp(browserName,TEXT("ChromeHTML")) == 0){ |
| 960 | 961 |
| @@ -986,7 +987,7 @@ BROWSERTYPE getDefaultBrowserType(){ | ||
| 986 | 987 | } |
| 987 | 988 | |
| 988 | 989 | |
| 989 | - RegQueryValueEx(hKey,TEXT("Progid"),(LPDWORD)NULL,(LPDWORD)NULL,(LPBYTE)&browserName,&cName); | |
| 990 | + | |
| 990 | 991 | |
| 991 | 992 | |
| 992 | 993 |