-
Notifications
You must be signed in to change notification settings - Fork 176
CHtmlHelp class 削除 #2140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
CHtmlHelp class 削除 #2140
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -77,7 +77,7 @@ | |
| </Manifest> | ||
| <Link> | ||
| <SubSystem>Windows</SubSystem> | ||
| <AdditionalDependencies>comctl32.lib;Imm32.lib;mpr.lib;Shlwapi.lib;Dwmapi.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| <AdditionalDependencies>comctl32.lib;Imm32.lib;mpr.lib;Shlwapi.lib;Dwmapi.lib;Htmlhelp.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| <GenerateDebugInformation>true</GenerateDebugInformation> | ||
| </Link> | ||
| </ItemDefinitionGroup> | ||
|
|
@@ -304,7 +304,6 @@ | |
| <ClInclude Include="..\sakura_core\extmodule\CBregexp.h" /> | ||
| <ClInclude Include="..\sakura_core\extmodule\CBregexpDll2.h" /> | ||
| <ClInclude Include="..\sakura_core\extmodule\CDllHandler.h" /> | ||
| <ClInclude Include="..\sakura_core\extmodule\CHtmlHelp.h" /> | ||
| <ClInclude Include="..\sakura_core\extmodule\CIcu4cI18n.h" /> | ||
| <ClInclude Include="..\sakura_core\extmodule\CMigemo.h" /> | ||
| <ClInclude Include="..\sakura_core\extmodule\CUchardet.h" /> | ||
|
|
@@ -673,7 +672,6 @@ | |
| <ClCompile Include="..\sakura_core\extmodule\CBregexp.cpp" /> | ||
| <ClCompile Include="..\sakura_core\extmodule\CBregexpDll2.cpp" /> | ||
| <ClCompile Include="..\sakura_core\extmodule\CDllHandler.cpp" /> | ||
| <ClCompile Include="..\sakura_core\extmodule\CHtmlHelp.cpp" /> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 上記 pragma comment lib の記述ファイルとして残してよい気がします。 つまり、sakura.vcxprojに対する修正は、ナシでいけます。 |
||
| <ClCompile Include="..\sakura_core\extmodule\CIcu4cI18n.cpp" /> | ||
| <ClCompile Include="..\sakura_core\extmodule\CMigemo.cpp" /> | ||
| <ClCompile Include="..\sakura_core\extmodule\CUchardet.cpp" /> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1027,9 +1027,6 @@ | |
| <ClInclude Include="..\sakura_core\extmodule\CDllHandler.h"> | ||
| <Filter>Cpp Source Files\extmodule</Filter> | ||
| </ClInclude> | ||
| <ClInclude Include="..\sakura_core\extmodule\CHtmlHelp.h"> | ||
| <Filter>Cpp Source Files\extmodule</Filter> | ||
| </ClInclude> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ファイル削除を行わなければ、このファイルに対する修正も不要です。 |
||
| <ClInclude Include="..\sakura_core\extmodule\CMigemo.h"> | ||
| <Filter>Cpp Source Files\extmodule</Filter> | ||
| </ClInclude> | ||
|
|
@@ -2228,9 +2225,6 @@ | |
| <ClCompile Include="..\sakura_core\extmodule\CDllHandler.cpp"> | ||
| <Filter>Cpp Source Files\extmodule</Filter> | ||
| </ClCompile> | ||
| <ClCompile Include="..\sakura_core\extmodule\CHtmlHelp.cpp"> | ||
| <Filter>Cpp Source Files\extmodule</Filter> | ||
| </ClCompile> | ||
| <ClCompile Include="..\sakura_core\extmodule\CMigemo.cpp"> | ||
| <Filter>Cpp Source Files\extmodule</Filter> | ||
| </ClCompile> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -94,6 +94,7 @@ LIBS= \ | |
| -lmpr \ | ||
| -lshlwapi \ | ||
| -ldwmapi \ | ||
| -lhtmlhelp \ | ||
| -lwinmm \ | ||
| -lwindowscodecs \ | ||
| -lmsimg32 \ | ||
|
|
||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -110,6 +110,7 @@ LIBS= \ | |
| -limagehlp \ | ||
| -lshlwapi \ | ||
| -ldwmapi \ | ||
| -lhtmlhelp \ | ||
| -lwinmm \ | ||
| -lwindowscodecs \ | ||
| -lmsimg32 \ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MSVCではpragma comment libを使えばリンク指示できます。
「必要ではない修正」を減らすために使えるテクニックです。
こういうの。
sakura/sakura_core/doc/CEditDoc.cpp
Lines 31 to 32 in 6d9dc5b
静的リンクしたDLLは「必須」になるので、インストールされてない端末で実行すると落ちます。
動的ロードは「DLLがなくても落ちない機構」なので、デグレになるおそれがあります。
中間の技術として /DELAYLOAD というのがありますが、説明がダルいっす。
既存コードで Imm32.DLL が静的リンクなのは国際化の観点でNGだと思ってます。
mpr.DLLはNetConnectのためだけにリンクしてるので /DELAYLOAD で十分と思います。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ちょっと補足。HtmlHelpがあるDLLは hhctrl.ocx で、/DELAYLOAD は使えませんでした。