FFFTPのソースコードです。
Revision | 3b09ef2e463c95dc10644c6d006b19423e538d7d (tree) |
---|---|
Zeit | 2011-10-05 21:46:41 |
Autor | s_kawamoto <s_kawamoto@user...> |
Commiter | s_kawamoto |
Fix inconsistent VC++ Project files.
Add "Microsoft.VC90.CRT.manifest" to installer.
Remove useless files.
@@ -48,7 +48,7 @@ | ||
48 | 48 | Name="VCCLCompilerTool" |
49 | 49 | Optimization="0" |
50 | 50 | AdditionalIncludeDirectories="Resource;contrib\openssl\include" |
51 | - PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0600,_CRT_SECURE_NO_WARNINGS" | |
51 | + PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0500,_CRT_SECURE_NO_WARNINGS" | |
52 | 52 | RuntimeLibrary="1" |
53 | 53 | PrecompiledHeaderFile=".\Debug\FFFTP.pch" |
54 | 54 | AssemblerListingLocation=".\Debug\" |
@@ -138,7 +138,7 @@ | ||
138 | 138 | Name="VCCLCompilerTool" |
139 | 139 | InlineFunctionExpansion="1" |
140 | 140 | AdditionalIncludeDirectories="Resource;contrib\openssl\include" |
141 | - PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0600,_CRT_SECURE_NO_WARNINGS" | |
141 | + PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0500,_CRT_SECURE_NO_WARNINGS" | |
142 | 142 | StringPooling="true" |
143 | 143 | RuntimeLibrary="0" |
144 | 144 | EnableFunctionLevelLinking="true" |
@@ -4,6 +4,7 @@ | ||
4 | 4 | Version="8.00" |
5 | 5 | Name="FFFTP" |
6 | 6 | ProjectGUID="{5D9496DB-45AF-4389-8FEE-27C9A2FA207A}" |
7 | + RootNamespace="FFFTP" | |
7 | 8 | > |
8 | 9 | <Platforms> |
9 | 10 | <Platform |
@@ -45,8 +46,8 @@ | ||
45 | 46 | <Tool |
46 | 47 | Name="VCCLCompilerTool" |
47 | 48 | Optimization="0" |
48 | - AdditionalIncludeDirectories="Resource" | |
49 | - PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0400,_CRT_SECURE_NO_WARNINGS" | |
49 | + AdditionalIncludeDirectories="Resource;contrib\openssl\include" | |
50 | + PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0500,_CRT_SECURE_NO_WARNINGS" | |
50 | 51 | RuntimeLibrary="1" |
51 | 52 | PrecompiledHeaderFile=".\Debug\FFFTP.pch" |
52 | 53 | AssemblerListingLocation=".\Debug\" |
@@ -136,8 +137,8 @@ | ||
136 | 137 | <Tool |
137 | 138 | Name="VCCLCompilerTool" |
138 | 139 | InlineFunctionExpansion="1" |
139 | - AdditionalIncludeDirectories="Resource" | |
140 | - PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0400,_CRT_SECURE_NO_WARNINGS" | |
140 | + AdditionalIncludeDirectories="Resource;contrib\openssl\include" | |
141 | + PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0500,_CRT_SECURE_NO_WARNINGS" | |
141 | 142 | StringPooling="true" |
142 | 143 | RuntimeLibrary="0" |
143 | 144 | EnableFunctionLevelLinking="true" |
@@ -48,7 +48,7 @@ | ||
48 | 48 | Name="VCCLCompilerTool" |
49 | 49 | Optimization="0" |
50 | 50 | AdditionalIncludeDirectories="Resource_eng;contrib\openssl\include" |
51 | - PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0600,_CRT_SECURE_NO_WARNINGS,ENGLISH" | |
51 | + PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0500,_CRT_SECURE_NO_WARNINGS,ENGLISH" | |
52 | 52 | BasicRuntimeChecks="3" |
53 | 53 | RuntimeLibrary="1" |
54 | 54 | PrecompiledHeaderFile=".\FFFTP_Eng_Debug\FFFTP_English.pch" |
@@ -139,7 +139,7 @@ | ||
139 | 139 | Name="VCCLCompilerTool" |
140 | 140 | InlineFunctionExpansion="1" |
141 | 141 | AdditionalIncludeDirectories="Resource_eng;contrib\openssl\include" |
142 | - PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0600,_CRT_SECURE_NO_WARNINGS,ENGLISH" | |
142 | + PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0500,_CRT_SECURE_NO_WARNINGS,ENGLISH" | |
143 | 143 | StringPooling="true" |
144 | 144 | RuntimeLibrary="0" |
145 | 145 | EnableFunctionLevelLinking="true" |
@@ -46,8 +46,8 @@ | ||
46 | 46 | <Tool |
47 | 47 | Name="VCCLCompilerTool" |
48 | 48 | Optimization="0" |
49 | - AdditionalIncludeDirectories="Resource_eng" | |
50 | - PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0400,_CRT_SECURE_NO_WARNINGS,ENGLISH" | |
49 | + AdditionalIncludeDirectories="Resource_eng;contrib\openssl\include" | |
50 | + PreprocessorDefinitions="WIN32,_DEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0500,_CRT_SECURE_NO_WARNINGS,ENGLISH" | |
51 | 51 | BasicRuntimeChecks="3" |
52 | 52 | RuntimeLibrary="1" |
53 | 53 | PrecompiledHeaderFile=".\FFFTP_Eng_Debug\FFFTP_English.pch" |
@@ -138,8 +138,8 @@ | ||
138 | 138 | <Tool |
139 | 139 | Name="VCCLCompilerTool" |
140 | 140 | InlineFunctionExpansion="1" |
141 | - AdditionalIncludeDirectories="Resource_eng" | |
142 | - PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0400,_CRT_SECURE_NO_WARNINGS,ENGLISH" | |
141 | + AdditionalIncludeDirectories="Resource_eng;contrib\openssl\include" | |
142 | + PreprocessorDefinitions="WIN32,NDEBUG,_WINDOWS,WINVER=0x0500,_WIN32_WINNT=0x0500,_WIN32_IE=0x0500,_CRT_SECURE_NO_WARNINGS,ENGLISH" | |
143 | 143 | StringPooling="true" |
144 | 144 | RuntimeLibrary="0" |
145 | 145 | EnableFunctionLevelLinking="true" |
@@ -12,12 +12,14 @@ copy /Y %BIN_JPN% %DIR_JPN% | ||
12 | 12 | copy /Y %HTMLHELP% %DIR_JPN% |
13 | 13 | copy /Y %DIR_JPN_DOC%\*.txt %DIR_JPN% |
14 | 14 | copy /Y %DIR_DIST%\*.dll %DIR_JPN% |
15 | +copy /Y %DIR_DIST%\*.manifest %DIR_JPN% | |
15 | 16 | |
16 | 17 | REM; copy English files |
17 | 18 | mkdir %DIR_ENG% |
18 | 19 | copy /Y %BIN_ENG% %DIR_ENG% |
19 | 20 | copy /Y %DIR_ENG_DOC%\*.txt %DIR_ENG% |
20 | 21 | copy /Y %DIR_DIST%\*.dll %DIR_ENG% |
22 | +copy /Y %DIR_DIST%\*.manifest %DIR_ENG% | |
21 | 23 | |
22 | 24 | REM; copy to installer working directory |
23 | 25 | copy /Y %DIR_JPN%\*.* %DIR_JPN_INST% |
@@ -0,0 +1,12 @@ | ||
1 | +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
2 | +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | |
3 | + <assemblyIdentity | |
4 | + type="win32" | |
5 | + name="Microsoft.VC90.CRT" | |
6 | + version="9.0.21022.8" | |
7 | + processorArchitecture="x86" | |
8 | + publicKeyToken="1fc8b3b9a1e18e3b" | |
9 | + /> | |
10 | + <file name="msvcr90.dll"/> | |
11 | +</assembly> | |
12 | + |
@@ -1,5 +1,6 @@ | ||
1 | 1 | put below DLL files to distribue in this directory. |
2 | 2 | |
3 | 3 | * libeay32.dll |
4 | + * Microsoft.VC90.CRT.manifest | |
4 | 5 | * msvcr90.dll |
5 | 6 | * ssleay32.dll |
@@ -405,11 +405,8 @@ void FreeDuplicatedString(void* p) | ||
405 | 405 | #pragma warning(disable:4102) |
406 | 406 | #define START_ROUTINE do{ |
407 | 407 | #define END_ROUTINE }while(0); |
408 | - | |
409 | -/* | |
410 | 408 | #define END_ROUTINE }while(0);end_of_routine: |
411 | 409 | #define QUIT_ROUTINE goto end_of_routine; |
412 | -*/ | |
413 | 410 | |
414 | 411 | int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow) |
415 | 412 | { |
@@ -233,7 +233,7 @@ int MakeToolBarWindow(HWND hWnd, HINSTANCE hInst) | ||
233 | 233 | |
234 | 234 | hWndTbarMain = CreateToolbarEx( |
235 | 235 | hWnd, |
236 | - WS_CHILD | WS_VISIBLE | TBSTYLE_TOOLTIPS | CCS_TOP | TBSTYLE_FLAT, | |
236 | + WS_CHILD | WS_VISIBLE | TBSTYLE_TOOLTIPS | CCS_TOP, | |
237 | 237 | 1, |
238 | 238 | 27, |
239 | 239 | hInst, |
@@ -258,7 +258,7 @@ int MakeToolBarWindow(HWND hWnd, HINSTANCE hInst) | ||
258 | 258 | |
259 | 259 | hWndTbarLocal = CreateToolbarEx( |
260 | 260 | hWnd, |
261 | - WS_CHILD | WS_VISIBLE | TBSTYLE_TOOLTIPS | CCS_NORESIZE | TBSTYLE_FLAT, | |
261 | + WS_CHILD | WS_VISIBLE | TBSTYLE_TOOLTIPS | CCS_NORESIZE, | |
262 | 262 | 2, |
263 | 263 | 2, |
264 | 264 | hInst, |
@@ -321,7 +321,7 @@ int MakeToolBarWindow(HWND hWnd, HINSTANCE hInst) | ||
321 | 321 | |
322 | 322 | hWndTbarRemote = CreateToolbarEx( |
323 | 323 | hWnd, |
324 | - WS_CHILD | WS_VISIBLE | TBSTYLE_TOOLTIPS | CCS_NORESIZE | TBSTYLE_FLAT, | |
324 | + WS_CHILD | WS_VISIBLE | TBSTYLE_TOOLTIPS | CCS_NORESIZE, | |
325 | 325 | 3, |
326 | 326 | 2, |
327 | 327 | hInst, |