diff --git a/Chewing.opensdf b/Chewing.opensdf
new file mode 100644
index 0000000..7138873
Binary files /dev/null and b/Chewing.opensdf differ
diff --git a/Chewing.sdf b/Chewing.sdf
new file mode 100644
index 0000000..68ef5a8
Binary files /dev/null and b/Chewing.sdf differ
diff --git a/Chewing.sln b/Chewing.sln
index 86b31ac..55a6d55 100644
--- a/Chewing.sln
+++ b/Chewing.sln
@@ -1,16 +1,16 @@
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual C++ Express 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Installer", "Installer\Installer.vcproj", "{C7C053CC-FDDC-4398-881E-F31FF82340BD}"
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Installer", "Installer\Installer.vcxproj", "{C7C053CC-FDDC-4398-881E-F31FF82340BD}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ChewingIME", "ChewingIME\ChewingIME.vcproj", "{517658CE-EFFE-4C17-BF82-55F743CB3123}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ChewingIME", "ChewingIME\ChewingIME.vcxproj", "{517658CE-EFFE-4C17-BF82-55F743CB3123}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ChewingServerUTF8", "ChewingServer\ChewingServerUTF8.vcproj", "{FF074876-659D-4BFD-9361-6E22C99BABE2}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ChewingServerUTF8", "ChewingServer\ChewingServerUTF8.vcxproj", "{FF074876-659D-4BFD-9361-6E22C99BABE2}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HashEd-UTF8", "HashEd-UTF8\HashEd-UTF8.vcproj", "{269E68D9-551A-4A1B-8DEF-A8C6DA04DA2A}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HashEd-UTF8", "HashEd-UTF8\HashEd-UTF8.vcxproj", "{269E68D9-551A-4A1B-8DEF-A8C6DA04DA2A}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "big52utf8", "big52utf8\big52utf8.vcproj", "{FEA2192A-7A54-46C9-A194-16B2B4268C26}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "big52utf8", "big52utf8\big52utf8.vcxproj", "{FEA2192A-7A54-46C9-A194-16B2B4268C26}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OnlineUpdate", "OnlineUpdate\OnlineUpdate.vcproj", "{DC981667-BE17-4BFF-BD24-8E5417B8C5D0}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OnlineUpdate", "OnlineUpdate\OnlineUpdate.vcxproj", "{DC981667-BE17-4BFF-BD24-8E5417B8C5D0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
diff --git a/Chewing.v11.suo b/Chewing.v11.suo
new file mode 100644
index 0000000..11f613f
Binary files /dev/null and b/Chewing.v11.suo differ
diff --git a/ChewingIME/ChewingIME.cpp b/ChewingIME/ChewingIME.cpp
index bd73bfb..19ee565 100644
--- a/ChewingIME/ChewingIME.cpp
+++ b/ChewingIME/ChewingIME.cpp
@@ -1310,6 +1310,7 @@ BOOL APIENTRY DllMain( HANDLE hModule,
{
case DLL_PROCESS_ATTACH:
{
+ MessageBox(NULL,"Debug","Debug",0);
DisableThreadLibraryCalls((HMODULE)hModule);
g_dllInst = (HINSTANCE)hModule;
diff --git a/ChewingIME/ChewingIME.dsp b/ChewingIME/ChewingIME.dsp
deleted file mode 100644
index 1f7a1c9..0000000
--- a/ChewingIME/ChewingIME.dsp
+++ /dev/null
@@ -1,348 +0,0 @@
-# Microsoft Developer Studio Project File - Name="ChewingIME" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=ChewingIME - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "ChewingIME.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "ChewingIME.mak" CFG="ChewingIME - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "ChewingIME - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "ChewingIME - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "ChewingIME - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "ChewingIME___Win32_Release"
-# PROP BASE Intermediate_Dir "ChewingIME___Win32_Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CHEWINGIME_EXPORTS" /YX /FD /c
-# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\..\libchewing\branches\win32\include" /I "..\ChewingServer" /D "USE_BINARY_DAT" /D "NDEBUG" /D "NOIME" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CHEWINGIME_EXPORTS" /D WINVER=0x040A /D "COMPILE_MULTIMON_STUBS" /FR /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x404 /d "NDEBUG"
-# ADD RSC /l 0x404 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib imm32.lib comctl32.lib /nologo /dll /map /machine:I386 /out:"Release/Chewing.ime" /libpath:"..\..\libchewing\branches\win32\win32\Release"
-# SUBTRACT LINK32 /debug
-
-!ELSEIF "$(CFG)" == "ChewingIME - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "ChewingIME___Win32_Debug"
-# PROP BASE Intermediate_Dir "ChewingIME___Win32_Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CHEWINGIME_EXPORTS" /YX /FD /GZ /c
-# ADD CPP /nologo /MTd /W3 /GX /ZI /Od /I "..\..\libchewing\branches\win32\include" /I "..\ChewingServer" /D "USE_BINARY_DAT" /D "_DEBUG" /D "NOIME" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CHEWINGIME_EXPORTS" /D WINVER=0x040A /D "COMPILE_MULTIMON_STUBS" /FR /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x404 /d "_DEBUG"
-# ADD RSC /l 0x404 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib imm32.lib libchewing.lib comctl32.lib /nologo /dll /debug /machine:I386 /out:"Debug/Chewing.ime" /pdbtype:sept /libpath:"..\..\libchewing\branches\win32\win32\Release"
-# Begin Special Build Tool
-SOURCE="$(InputPath)"
-PostBuild_Cmds=@echo on del C:\Windows\System32\Chewing.ime copy .\Debug\Chewing.ime c:\windows\system32\Chewing.ime
-# End Special Build Tool
-
-!ENDIF
-
-# Begin Target
-
-# Name "ChewingIME - Win32 Release"
-# Name "ChewingIME - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\CandList.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\CandWnd.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\char.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\ChewingClient.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ChewingIME.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\ChewingIME.def
-# End Source File
-# Begin Source File
-
-SOURCE=.\ChewingIME.rc
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\chewingio.c
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\chewingutil.c
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\choice.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\CompStr.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\CompWnd.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\dict.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\DrawUtil.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\hanyupinying.c
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\hash.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\IMCLock.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\IMEChildWnd.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\IMEUI.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\IMEUILock.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\common\key2pho.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\StatusWnd.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\Tooltip.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\tree.c
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\userphrase.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\Window.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\XPToolbar.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\zuin.c
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\CandList.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\CandWnd.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\ChewingIME.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\CompStr.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\CompWnd.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\DrawUtil.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\IMCLock.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\IMEChildWnd.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\IMEUI.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\IMEUILock.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\imm.h
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\private.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\resource.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\StatusWnd.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Tooltip.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Window.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\XPToolbar.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# Begin Source File
-
-SOURCE=.\chi.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\config.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\config1.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\congi.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\eng.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\full.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\fullshap.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\half.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\icon.bmp
-# End Source File
-# Begin Source File
-
-SOURCE=.\icon1.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\icon2.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\icon3.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\Mainicon.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\status_bar24.bmp
-# End Source File
-# Begin Source File
-
-SOURCE=.\status_bar256.bmp
-# End Source File
-# End Group
-# End Target
-# End Project
diff --git a/ChewingIME/ChewingIME.dsw b/ChewingIME/ChewingIME.dsw
deleted file mode 100644
index 6808032..0000000
--- a/ChewingIME/ChewingIME.dsw
+++ /dev/null
@@ -1,41 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "ChewingIME"=".\ChewingIME.dsp" - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "ChewingServer"=".\ChewingServer\ChewingServer.dsp" - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/ChewingIME/ChewingIME.vcproj b/ChewingIME/ChewingIME.vcproj
deleted file mode 100644
index 08fe961..0000000
--- a/ChewingIME/ChewingIME.vcproj
+++ /dev/null
@@ -1,594 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ChewingIME/ChewingIME.vcxproj b/ChewingIME/ChewingIME.vcxproj
new file mode 100644
index 0000000..22d0cfe
--- /dev/null
+++ b/ChewingIME/ChewingIME.vcxproj
@@ -0,0 +1,321 @@
+嚜
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+ {517658CE-EFFE-4C17-BF82-55F743CB3123}
+ ChewingIME
+ ExtStoredProcProj
+
+
+
+ DynamicLibrary
+ v110
+ MultiByte
+
+
+ DynamicLibrary
+ v110
+ MultiByte
+
+
+ DynamicLibrary
+ v110
+ MultiByte
+
+
+ DynamicLibrary
+ v110
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.60610.1
+
+
+ Debug\
+ Debug\
+ true
+ .ime
+
+
+ $(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+ true
+ false
+ .ime
+
+
+ Release\
+ Release\
+ false
+
+
+ $(Platform)\$(Configuration)\
+ $(Platform)\$(Configuration)\
+ false
+
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ false
+
+
+ /wd4996 %(AdditionalOptions)
+ Disabled
+ $(ProjectDir)..\..\libchewing\include\;.\;..\include;%(AdditionalIncludeDirectories)
+ COMPILE_MULTIMON_STUBS;NOIME;WIN32;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ true
+ MultiThreadedDebug
+ true
+
+
+ Level3
+ EditAndContinue
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ 0x0404
+
+
+ imm32.lib;comctl32.lib;shell32.lib;%(AdditionalDependencies)
+ $(OutDir)Chewing.ime
+ ChewingIME.def
+ true
+ true
+ true
+ Windows
+
+ false
+
+
+ MachineX86
+ ..\..\libchewing_win32\Debug
+
+
+
+
+
+
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ false
+ X64
+
+
+ /wd4996 %(AdditionalOptions)
+ Disabled
+ $(ProjectDir)..\..\libchewing\include;$(ProjectDir)..\include;%(AdditionalIncludeDirectories)
+ COMPILE_MULTIMON_STUBS;NOIME;WIN32;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ true
+ MultiThreadedDebug
+ true
+
+
+ Level3
+ ProgramDatabase
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ 0x0404
+
+
+ imm32.lib;comctl32.lib;shell32.lib;%(AdditionalDependencies)
+ $(OutDir)Chewing.ime
+ ..\..\libchewing_win32\Debug;%(AdditionalLibraryDirectories)
+ ChewingIME.def
+ true
+ true
+ true
+ Windows
+
+ false
+
+
+ MachineX64
+ $(ProjectDir)..\..\libchewing_win32\Debug
+ false
+
+
+ %40echo on
+del C:\Windows\System32\Chewing.ime
+copy .\Debug\Chewing.ime C:\Windows\System32\*
+
+
+
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ false
+
+
+ MaxSpeed
+ $(ProjectDir)..\..\libchewing\include\;$(ProjectDir).\;$(ProjectDir)..\include;%(AdditionalIncludeDirectories)
+ COMPILE_MULTIMON_STUBS;NOIME;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ MultiThreaded
+
+
+ Level3
+ ProgramDatabase
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ 0x0404
+
+
+ imm32.lib;comctl32.lib;shell32.lib;%(AdditionalDependencies)
+ $(OutDir)Chewing.ime
+ ChewingIME.def
+ true
+ true
+ true
+ Windows
+ true
+ true
+ false
+
+ MachineX86
+
+
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ false
+ X64
+
+
+ MaxSpeed
+ $(ProjectDir)..\..\libchewing\include\;$(ProjectDir).\;$(ProjectDir)..\include;%(AdditionalIncludeDirectories)
+ COMPILE_MULTIMON_STUBS;NOIME;WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ MultiThreaded
+
+
+ Level3
+ ProgramDatabase
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ 0x0404
+
+
+ imm32.lib;comctl32.lib;shell32.lib;%(AdditionalDependencies)
+ $(OutDir)Chewing.ime
+ ..\..\libchewing_win64\Release;%(AdditionalLibraryDirectories)
+ ChewingIME.def
+ true
+ true
+ true
+ Windows
+ true
+ true
+ false
+
+ MachineX64
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ChewingIME/ChewingIME.vcxproj.filters b/ChewingIME/ChewingIME.vcxproj.filters
new file mode 100644
index 0000000..81a92d2
--- /dev/null
+++ b/ChewingIME/ChewingIME.vcxproj.filters
@@ -0,0 +1,162 @@
+嚜
+
+
+
+ {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
+ cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
+
+
+ {93995380-89BD-4b04-88EB-625FBE52EBFB}
+ h;hpp;hxx;hm;inl;inc;xsd
+
+
+ {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
+ rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
+
+
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+ 憪蝔撘瑼
+
+
+
+
+ 憪蝔撘瑼
+
+
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+
+
+ 鞈皞瑼
+
+
+
+
+ 鞈皞瑼
+
+
+ 鞈皞瑼
+
+
+ 鞈皞瑼
+
+
+ 鞈皞瑼
+
+
+ 鞈皞瑼
+
+
+ 鞈皞瑼
+
+
+ 鞈皞瑼
+
+
+ 鞈皞瑼
+
+
+ 鞈皞瑼
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ChewingIME/ChewingIME.vcxproj.user b/ChewingIME/ChewingIME.vcxproj.user
new file mode 100644
index 0000000..a375ae3
--- /dev/null
+++ b/ChewingIME/ChewingIME.vcxproj.user
@@ -0,0 +1,4 @@
+嚜
+
+
+
\ No newline at end of file
diff --git a/ChewingServer/ChewingServer.cpp b/ChewingServer/ChewingServer.cpp
index 53912d7..56fe23a 100644
--- a/ChewingServer/ChewingServer.cpp
+++ b/ChewingServer/ChewingServer.cpp
@@ -207,8 +207,8 @@ LRESULT ChewingServer::wndProc(UINT msg, WPARAM wp, LPARAM lp)
case cmdLastPhoneSeq:
{
int lop;
- uint16 *sbuf = Chewing::GetLastPhoneSeq();
- uint16 *obuf = (uint16*)MapViewOfFile( sharedMem, FILE_MAP_WRITE,
+ uint16_t *sbuf = Chewing::GetLastPhoneSeq();
+ uint16_t *obuf = (uint16_t*)MapViewOfFile( sharedMem, FILE_MAP_WRITE,
0, 0, CHEWINGSERVER_BUF_SIZE );
for ( lop=0; lop
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Application" 0x0101
-
-CFG=ChewingServer - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "ChewingServer.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "ChewingServer.mak" CFG="ChewingServer - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "ChewingServer - Win32 Release" (based on "Win32 (x86) Application")
-!MESSAGE "ChewingServer - Win32 Debug" (based on "Win32 (x86) Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "ChewingServer - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /I "..\..\libchewing\branches\win32\include" /I "..\Include" /D "NDEBUG" /D "USE_BINARY_DAT" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "DISABLE_ATEXIT" /FR /YX /FD /c
-# SUBTRACT CPP /Z
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x404 /d "NDEBUG"
-# ADD RSC /l 0x404 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /map /machine:I386
-# SUBTRACT LINK32 /debug
-
-!ELSEIF "$(CFG)" == "ChewingServer - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 0
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c
-# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\libchewing\branches\win32\include" /I "..\Include" /D "_DEBUG" /D "USE_BINARY_DAT" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "DISABLE_ATEXIT" /FR /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x404 /d "_DEBUG"
-# ADD RSC /l 0x404 /d "_DEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
-
-!ENDIF
-
-# Begin Target
-
-# Name "ChewingServer - Win32 Release"
-# Name "ChewingServer - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\char.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\chewing.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\chewingio.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\ChewingServer.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\chewingutil.c
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\choice.c
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\dict.c
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\hanyupinying.c
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\hash.c
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\common\key2pho.c
-# End Source File
-# Begin Source File
-
-SOURCE=.\main.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\tree.c
-
-!IF "$(CFG)" == "ChewingServer - Win32 Release"
-
-# ADD CPP /FAs
-
-!ELSEIF "$(CFG)" == "ChewingServer - Win32 Debug"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\userphrase.c
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\zuin.c
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\private.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# End Group
-# Begin Source File
-
-SOURCE=.\ReadMe.txt
-# End Source File
-# End Target
-# End Project
diff --git a/ChewingServer/ChewingServer.dsw b/ChewingServer/ChewingServer.dsw
deleted file mode 100644
index 81f30b1..0000000
--- a/ChewingServer/ChewingServer.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "ChewingServer"=".\ChewingServer.dsp" - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/ChewingServer/ChewingServer.vcproj b/ChewingServer/ChewingServer.vcproj
deleted file mode 100644
index ac60758..0000000
--- a/ChewingServer/ChewingServer.vcproj
+++ /dev/null
@@ -1,488 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ChewingServer/ChewingServerUTF8.vcproj b/ChewingServer/ChewingServerUTF8.vcproj
deleted file mode 100644
index 5d384c6..0000000
--- a/ChewingServer/ChewingServerUTF8.vcproj
+++ /dev/null
@@ -1,264 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ChewingServer/ChewingServerUTF8.vcxproj b/ChewingServer/ChewingServerUTF8.vcxproj
new file mode 100644
index 0000000..e77a095
--- /dev/null
+++ b/ChewingServer/ChewingServerUTF8.vcxproj
@@ -0,0 +1,162 @@
+嚜
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {FF074876-659D-4BFD-9361-6E22C99BABE2}
+ ChewingServerUTF8
+
+
+
+ Application
+ v110
+ false
+ MultiByte
+
+
+ Application
+ v110
+ false
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.60610.1
+
+
+ .\Debug\
+ .\Debug\
+ false
+
+
+ .\Release\
+ .\Release\
+ false
+
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+ true
+ Win32
+ .\Debug/ChewingServerUTF8.tlb
+
+
+
+ /wd4996 %(AdditionalOptions)
+ Disabled
+ $(ProjectDir)..\..\libchewing\include;$(ProjectDir)..\include;%(AdditionalIncludeDirectories)
+ USE_BINARY_DAT;WIN32;_WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ EnableFastChecks
+ MultiThreadedDebug
+
+ .\Debug/ChewingServerUTF8.pch
+ .\Debug/
+ .\Debug/
+ .\Debug/
+ true
+ Level3
+ true
+ EditAndContinue
+ Default
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ 0x0404
+
+
+ .\Debug/ChewingServer.exe
+ true
+ true
+ .\Debug/ChewingServerUTF8.pdb
+ Windows
+ false
+
+ MachineX86
+ $(ProjectDir)..\..\..\libchewing_win32\Debug\
+ LIBCMTD.lib
+
+
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+ true
+ Win32
+ .\Release/ChewingServerUTF8.tlb
+
+
+
+ MaxSpeed
+ AnySuitable
+ $(ProjectDir)..\..\libchewing\include;$(ProjectDir)..\include;%(AdditionalIncludeDirectories)
+ USE_BINARY_DAT;WIN32;_WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ MultiThreaded
+ true
+
+
+ .\Release/ChewingServerUTF8.pch
+ .\Release/
+ .\Release/
+ .\Release/
+ Level3
+ true
+ ProgramDatabase
+ Default
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ 0x0404
+
+
+ .\Release/ChewingServer.exe
+ true
+ true
+ true
+ .\Release/ChewingServerUTF8.pdb
+ true
+
+ true
+ Windows
+ false
+
+ MachineX86
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ChewingServer/ChewingServerUTF8.vcxproj.filters b/ChewingServer/ChewingServerUTF8.vcxproj.filters
new file mode 100644
index 0000000..938df48
--- /dev/null
+++ b/ChewingServer/ChewingServerUTF8.vcxproj.filters
@@ -0,0 +1,42 @@
+嚜
+
+
+
+ {fd9fe1bf-c85e-4791-9c0e-72f2a57e1da2}
+ cpp;c;cxx;rc;def;r;odl;idl;hpj;bat
+
+
+ {00bfcfb0-11a7-4e37-b31c-9feabdb2a268}
+ h;hpp;hxx;hm;inl
+
+
+ {6c38ed3c-a55d-41d2-a551-1dbde3a852f3}
+ ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe
+
+
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+
+
+ Header Files
+
+
+ Header Files
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ChewingServer/ChewingServerUTF8.vcxproj.user b/ChewingServer/ChewingServerUTF8.vcxproj.user
new file mode 100644
index 0000000..1f085a0
--- /dev/null
+++ b/ChewingServer/ChewingServerUTF8.vcxproj.user
@@ -0,0 +1,6 @@
+嚜
+
+
+ Auto
+
+
\ No newline at end of file
diff --git a/ChewingServer/chewing.cpp b/ChewingServer/chewing.cpp
index 6210839..7bc03a1 100644
--- a/ChewingServer/chewing.cpp
+++ b/ChewingServer/chewing.cpp
@@ -1,7 +1,7 @@
#include
#include "Chewingpp.h"
-uint16 Chewing::g_lastPhoneSeq[MAX_PHONE_SEQ_LEN] = {0};
+uint16_t Chewing::g_lastPhoneSeq[MAX_PHONE_SEQ_LEN] = {0};
Chewing::Chewing( bool spaceAsSelection, int keyLayout ) {
ctx = chewing_new();
@@ -66,11 +66,11 @@ void Chewing::SelKey(char *selkey) {
int Chewing::Space() { return chewing_handle_Space(ctx); }
int Chewing::Enter() {
int rt;
- uint16 *oldSeq = chewing_get_phoneSeq(ctx);
+ uint16_t *oldSeq = chewing_get_phoneSeq(ctx);
int seqLen = chewing_get_phoneSeqLen(ctx);
rt = chewing_handle_Enter(ctx);
if (chewing_commit_Check(ctx)) {
- memcpy(g_lastPhoneSeq, oldSeq, seqLen*sizeof(uint16));
+ memcpy(g_lastPhoneSeq, oldSeq, seqLen*sizeof(uint16_t));
g_lastPhoneSeq[seqLen] = 0;
}
chewing_free(oldSeq);
@@ -98,7 +98,7 @@ int Chewing::Key(unsigned int code) {
return chewing_handle_Default(ctx, (int)code);
}
-uint16* Chewing::GetLastPhoneSeq() {
+uint16_t* Chewing::GetLastPhoneSeq() {
return g_lastPhoneSeq;
}
diff --git a/HashEd-UTF8/CHashContext.cpp b/HashEd-UTF8/CHashContext.cpp
index 9a7d07c..56a9baf 100644
--- a/HashEd-UTF8/CHashContext.cpp
+++ b/HashEd-UTF8/CHashContext.cpp
@@ -88,7 +88,7 @@ int CHashContext::load_hash(const char *file, bool doClear)
return 1;
}
-static int _PhoneSeqTheSame(const uint16 p1[], const uint16 p2[])
+static int _PhoneSeqTheSame(const uint16_t p1[], const uint16_t p2[])
{
int i;
@@ -161,7 +161,7 @@ void CHashContext::list_phrase()
FILE *foFile;
std::vector::iterator iter;
HASH_ITEM *pItem;
- uint16 *pui;
+ uint16_t *pui;
foFile = fopen("lista.txt", "w+b");
iter = pool.begin();
@@ -269,14 +269,14 @@ void CHashContext::del_phrase_by_id(int index)
};
}
-HASH_ITEM* CHashContext::append_phrase(const char *str, uint16 *phoneSeq)
+HASH_ITEM* CHashContext::append_phrase(const char *str, uint16_t *phoneSeq)
{
// existing?
// new
HASH_ITEM *hitem = (HASH_ITEM*) calloc(1, sizeof(HASH_ITEM));
hitem->data.wordSeq = (char*) malloc(strlen(str)+1);
- hitem->data.phoneSeq = (uint16*) calloc(MAX_PHONE_SEQ_LEN+1, sizeof(uint16));
+ hitem->data.phoneSeq = (uint16_t*) calloc(MAX_PHONE_SEQ_LEN+1, sizeof(uint16_t));
strcpy(hitem->data.wordSeq, str);
for ( int lop=0; *phoneSeq!=0; ++lop, ++phoneSeq )
{
@@ -289,7 +289,7 @@ HASH_ITEM* CHashContext::append_phrase(const char *str, uint16 *phoneSeq)
return hitem;
}
-HASH_ITEM* CHashContext::find_phrase_exact(const char *str, uint16 *phoneSeq)
+HASH_ITEM* CHashContext::find_phrase_exact(const char *str, uint16_t *phoneSeq)
{
return NULL;
}
@@ -346,7 +346,7 @@ void CHashContext::_connect_server(void)
_gen_event_name(filemapName, sizeof(filemapName), classname);
}
-int CHashContext::_get_phone_seq_from_server(uint16 *pPhoneSeq)
+int CHashContext::_get_phone_seq_from_server(uint16_t *pPhoneSeq)
{
int phone_cnt = SendMessage(serverWnd, ChewingServer::cmdLastPhoneSeq, 0, 0 );
if( phone_cnt>0 && phone_cnt<=MAX_PHONE_SEQ_LEN )
@@ -358,10 +358,10 @@ int CHashContext::_get_phone_seq_from_server(uint16 *pPhoneSeq)
return 0;
}
- uint16 *pword = (uint16*)MapViewOfFile( sharedMem, FILE_MAP_READ, 0, 0, CHEWINGSERVER_BUF_SIZE );
+ uint16_t *pword = (uint16_t*)MapViewOfFile( sharedMem, FILE_MAP_READ, 0, 0, CHEWINGSERVER_BUF_SIZE );
if( pword!=NULL )
{
- memcpy(pPhoneSeq, pword, sizeof(uint16)*phone_cnt);
+ memcpy(pPhoneSeq, pword, sizeof(uint16_t)*phone_cnt);
pPhoneSeq[phone_cnt] = 0;
UnmapViewOfFile(pword);
}
diff --git a/HashEd-UTF8/CHashContext.h b/HashEd-UTF8/CHashContext.h
index 5a4b6fc..558ce2a 100644
--- a/HashEd-UTF8/CHashContext.h
+++ b/HashEd-UTF8/CHashContext.h
@@ -5,7 +5,6 @@
#include
#include "hash-private.h"
-
/**
* A context that load a hash.dat,
* and provide some function to manipulate the context.
@@ -53,12 +52,12 @@ class CHashContext
* Append a phrase into context
* You must provide the big5 string and its phoneSeq
*/
- HASH_ITEM* append_phrase(const char *str, uint16 *phoneSeq);
+ HASH_ITEM* append_phrase(const char *str, uint16_t *phoneSeq);
/**
* Find a phrase in exactly match.
*/
- HASH_ITEM* find_phrase_exact(const char *str, uint16 *phoneSeq);
+ HASH_ITEM* find_phrase_exact(const char *str, uint16_t *phoneSeq);
/**
* Find a phrase in partial match.
@@ -78,7 +77,7 @@ class CHashContext
/**
* Retrive lastest phoneSeq info from chewing-server
*/
- int _get_phone_seq_from_server(uint16 *pPhoneSeq);
+ int _get_phone_seq_from_server(uint16_t *pPhoneSeq);
/**
* Shutdown chewing-server
diff --git a/HashEd-UTF8/HashEd-UTF8.vcproj b/HashEd-UTF8/HashEd-UTF8.vcproj
deleted file mode 100644
index 0c42dc0..0000000
--- a/HashEd-UTF8/HashEd-UTF8.vcproj
+++ /dev/null
@@ -1,392 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/HashEd-UTF8/HashEd-UTF8.vcxproj b/HashEd-UTF8/HashEd-UTF8.vcxproj
new file mode 100644
index 0000000..019d9d6
--- /dev/null
+++ b/HashEd-UTF8/HashEd-UTF8.vcxproj
@@ -0,0 +1,203 @@
+嚜
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {269E68D9-551A-4A1B-8DEF-A8C6DA04DA2A}
+ MFCProj
+
+
+
+ Application
+ v110
+ false
+ MultiByte
+
+
+ Application
+ v110
+ false
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.60610.1
+
+
+ .\Release\
+ .\Release\
+ false
+
+
+ .\Debug\
+ .\Debug\
+ false
+
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+ true
+ Win32
+ .\Release/HashEd.tlb
+
+
+
+ Full
+ OnlyExplicitInline
+ $(ProjectDir)..\..\libchewing\src\porting_layer\include\;$(ProjectDir)..\..\libchewing\include\internal\;$(ProjectDir)..\..\libchewing\include\;..\Include\;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_WINDOWS;_WIN32_WINNT=0x0410;%(PreprocessorDefinitions)
+ true
+ MultiThreaded
+ true
+
+ stdafx.h
+ .\Release/HashEd.pch
+ .\Release/
+ .\Release/
+ .\Release/
+ Level3
+ true
+ OldStyle
+
+
+ NDEBUG;%(PreprocessorDefinitions)
+ 0x0404
+
+
+ comctl32.lib;%(AdditionalDependencies)
+ .\Release/HashEd.exe
+ true
+ true
+ .\Release/HashEd.pdb
+ Windows
+ false
+
+ MachineX86
+
+
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+ true
+ Win32
+ .\Debug/HashEd.tlb
+
+
+
+ Disabled
+ $(ProjectDir)..\..\libchewing\src\porting_layer\include\;$(ProjectDir)..\..\libchewing\include\internal\;$(ProjectDir)..\..\libchewing\include\;..\Include;%(AdditionalIncludeDirectories)
+ WIN32;_DEBUG;_WINDOWS;_WIN32_WINNT=0x0410;%(PreprocessorDefinitions)
+ EnableFastChecks
+ MultiThreadedDebugDLL
+ stdafx.h
+ .\Debug/HashEd.pch
+ .\Debug/
+ .\Debug/
+ .\Debug/
+ true
+ Level3
+ true
+ EditAndContinue
+ Default
+
+
+ _DEBUG;%(PreprocessorDefinitions)
+ 0x0404
+
+
+ comctl32.lib;%(AdditionalDependencies)
+ .\Debug/HashEd.exe
+ true
+ true
+ .\Debug/HashEd.pdb
+ Windows
+ false
+
+ MachineX86
+ $(ProjectDir)..\..\..\libchewing_win32\Debug\
+
+
+
+
+
+
+
+ Disabled
+ EnableFastChecks
+ true
+ MaxSpeed
+
+
+ Disabled
+ EnableFastChecks
+ true
+ MaxSpeed
+
+
+
+
+ Disabled
+ EnableFastChecks
+ Create
+ true
+ MaxSpeed
+ Create
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/HashEd-UTF8/HashEd-UTF8.vcxproj.filters b/HashEd-UTF8/HashEd-UTF8.vcxproj.filters
new file mode 100644
index 0000000..939889b
--- /dev/null
+++ b/HashEd-UTF8/HashEd-UTF8.vcxproj.filters
@@ -0,0 +1,96 @@
+嚜
+
+
+
+ {3cae30ad-0222-49be-ae59-b5a0d4bdd0e7}
+ cpp;c;cxx;rc;def;r;odl;idl;hpj;bat
+
+
+ {5b7f849e-10e5-42b7-ab17-338b5647e61b}
+ h;hpp;hxx;hm;inl
+
+
+ {f0561c7e-4a67-407e-b9b7-143394668382}
+ ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe
+
+
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+ Source Files
+
+
+
+
+ Source Files
+
+
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+ Header Files
+
+
+
+
+ Resource Files
+
+
+ Resource Files
+
+
+
+
+ Resource Files
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/HashEd-UTF8/HashEd.dsp b/HashEd-UTF8/HashEd.dsp
deleted file mode 100644
index 3552ce2..0000000
--- a/HashEd-UTF8/HashEd.dsp
+++ /dev/null
@@ -1,184 +0,0 @@
-# Microsoft Developer Studio Project File - Name="HashEd" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (x86) Application" 0x0101
-
-CFG=HashEd - Win32 Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "HashEd.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "HashEd.mak" CFG="HashEd - Win32 Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "HashEd - Win32 Release" (based on "Win32 (x86) Application")
-!MESSAGE "HashEd - Win32 Debug" (based on "Win32 (x86) Application")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "HashEd - Win32 Release"
-
-# PROP BASE Use_MFC 6
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 5
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "Release"
-# PROP Intermediate_Dir "Release"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c
-# ADD CPP /nologo /W3 /GX /O2 /I "..\..\libchewing\branches\win32\include" /I "..\Include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x404 /d "NDEBUG" /d "_AFXDLL"
-# ADD RSC /l 0x404 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
-# ADD LINK32 comctl32.lib kernel32.lib user32.lib comdlg32.lib shell32.lib /nologo /subsystem:windows /map /machine:I386 /out:"Release/PhraseEd.exe"
-# SUBTRACT LINK32 /debug /nodefaultlib
-
-!ELSEIF "$(CFG)" == "HashEd - Win32 Debug"
-
-# PROP BASE Use_MFC 6
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 6
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "Debug"
-# PROP Intermediate_Dir "Debug"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c
-# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "..\..\libchewing\branches\win32\include" /I "..\Include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /FR /FD /GZ /c
-# SUBTRACT CPP /YX /Yc /Yu
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL"
-# ADD RSC /l 0x404 /d "_DEBUG" /d "_AFXDLL"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 comctl32.lib kernel32.lib user32.lib comdlg32.lib shell32.lib /nologo /subsystem:windows /debug /machine:I386 /out:"Debug/PhraseEd.exe" /pdbtype:sept
-
-!ENDIF
-
-# Begin Target
-
-# Name "HashEd - Win32 Release"
-# Name "HashEd - Win32 Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\CHashContext.cpp
-
-!IF "$(CFG)" == "HashEd - Win32 Release"
-
-!ELSEIF "$(CFG)" == "HashEd - Win32 Debug"
-
-# SUBTRACT CPP /YX /Yc /Yu
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=..\..\libchewing\branches\win32\src\hash.c
-
-!IF "$(CFG)" == "HashEd - Win32 Release"
-
-# SUBTRACT CPP /YX /Yc /Yu
-
-!ELSEIF "$(CFG)" == "HashEd - Win32 Debug"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\HashEd.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\HashEd.rc
-# End Source File
-# Begin Source File
-
-SOURCE=.\HashEdDlg.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\StdAfx.cpp
-# ADD CPP /Yc"stdafx.h"
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\CHashContext.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\HashEd.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\HashEdDlg.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\Resource.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\StdAfx.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
-# Begin Source File
-
-SOURCE=.\res\HashEd.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\res\HashEd.rc2
-# End Source File
-# Begin Source File
-
-SOURCE=.\icon.bmp
-# End Source File
-# End Group
-# Begin Source File
-
-SOURCE=.\ReadMe.txt
-# End Source File
-# End Target
-# End Project
diff --git a/HashEd-UTF8/HashEd.dsw b/HashEd-UTF8/HashEd.dsw
deleted file mode 100644
index 483638e..0000000
--- a/HashEd-UTF8/HashEd.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "HashEd"=.\HashEd.dsp - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-
diff --git a/HashEd-UTF8/HashEdDlg.h b/HashEd-UTF8/HashEdDlg.h
index e80d41a..7f3db92 100644
--- a/HashEd-UTF8/HashEdDlg.h
+++ b/HashEd-UTF8/HashEdDlg.h
@@ -5,7 +5,7 @@
#define AFX_HASHEDDLG_H__35818C20_FC7D_4643_ABE9_61774E0F5CBC__INCLUDED_
#include "chashcontext.h"
-
+#include "Chewingpp.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
@@ -41,7 +41,7 @@ class CHashEdDlg
CPhraseList* phraseList; // Phrase List control
CHashContext m_context;
- uint16 m_PhoneSeq[MAX_PHONE_SEQ_LEN+1];
+ uint16_t m_PhoneSeq[MAX_PHONE_SEQ_LEN+1];
int m_NumPhoneSeq;
char m_string[(MAX_PHONE_SEQ_LEN+1)*2];
char m_msgStr[256];
diff --git a/HashEd-UTF8/Pho2Chewing.h b/HashEd-UTF8/Pho2Chewing.h
index 7db2c19..b08ef37 100644
--- a/HashEd-UTF8/Pho2Chewing.h
+++ b/HashEd-UTF8/Pho2Chewing.h
@@ -9,7 +9,7 @@
#include
// TODO: 在此參考您的程式所需要的其他標頭
-#include "chewing-utf8-util.h"
+#include "chewing-utf8-util.h"
#include "global.h"
typedef struct
@@ -25,6 +25,6 @@ typedef struct
int maxfreq;
int systemfreq;
int phonenum;
- uint16 phoneserial;
+ uint16_t phoneserial;
int bits;
}chewing;
\ No newline at end of file
diff --git a/Include/Chewingpp.h b/Include/Chewingpp.h
index de3ad89..faf3289 100644
--- a/Include/Chewingpp.h
+++ b/Include/Chewingpp.h
@@ -4,7 +4,9 @@
#ifndef _CHEWINGPP_H
#define _CHEWINGPP_H 1
-#include
+#include "chewing.h"
+#include
+#include
#pragma comment(lib, "chewing")
#ifdef MAX_UTF8_SIZE
@@ -21,12 +23,12 @@ class Chewing
{
ChewingContext *ctx;
- static uint16 g_lastPhoneSeq[MAX_PHONE_SEQ_LEN];
+ static uint16_t g_lastPhoneSeq[MAX_PHONE_SEQ_LEN];
public:
static bool LoadDataFiles( const char* dataDir, const char* userDir );
static void ReloadSymbolTable( const char* datadir, const char* userDir );
- static uint16* GetLastPhoneSeq( void );
+ static uint16_t* GetLastPhoneSeq( void );
Chewing( bool spaceAsSelection = true, int keyLayout=0);
~Chewing();
@@ -64,7 +66,7 @@ class Chewing
char* ZuinStr();
char* CommitStr();
- uint16* PhoneSeq();
+ uint16_t* PhoneSeq();
int CommitReady();
char* Buffer();
diff --git a/Installer/Installer.cpp b/Installer/Installer.cpp
index a980e4a..06fecc7 100644
--- a/Installer/Installer.cpp
+++ b/Installer/Installer.cpp
@@ -7,6 +7,7 @@
#include
#include
#include "Installer.h"
+#include
// 全域變數:
HINSTANCE hInst; // 目前執行個體
@@ -98,14 +99,15 @@ int APIENTRY WinMain(HINSTANCE hInstance,
int nCmdShow)
{
HKL kl;
-
+ MessageBox(NULL,"DEBUG\n","Debug",0);
HKEY hk = NULL;
if( ERROR_SUCCESS != RegCreateKeyEx( HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\New Chewing IM", 0,
NULL, 0, KEY_ALL_ACCESS , NULL, &hk, NULL) )
hk = NULL;
-
+ printf("DEBUG\n");
if( strstr( lpCmdLine, "/uninstall" ) )
{
+
char temp[1024];
_gen_event_name(temp, sizeof(temp), "ChewingServer");
HWND hwnd = FindWindow(temp, NULL);
@@ -167,8 +169,11 @@ int APIENTRY WinMain(HINSTANCE hInstance,
GetSystemDirectory(path, MAX_PATH);
lstrcat( path, "\\Chewing.ime" );
+ printf("Install Path:%s\n",path);
kl = ImmInstallIME( path,
(GetVersion() < 0x80000000) ? "中文 (繁體) - 新酷音輸入法" : "新酷音輸入法" );
+
+ printf("Imm Install IME Result: %d\n",kl);
if( hk )
RegSetValueEx( hk, "KeyboardLayout", 0, REG_DWORD, (LPBYTE)&kl, sizeof(DWORD) );
}
diff --git a/Installer/Installer.vcproj b/Installer/Installer.vcproj
deleted file mode 100644
index 91dec1b..0000000
--- a/Installer/Installer.vcproj
+++ /dev/null
@@ -1,223 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Installer/Installer.vcxproj b/Installer/Installer.vcxproj
new file mode 100644
index 0000000..2c3bacf
--- /dev/null
+++ b/Installer/Installer.vcxproj
@@ -0,0 +1,114 @@
+嚜
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {C7C053CC-FDDC-4398-881E-F31FF82340BD}
+ Win32Proj
+
+
+
+ Application
+ v110
+ MultiByte
+
+
+ Application
+ v110
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.60610.1
+
+
+ Debug\
+ Debug\
+ true
+
+
+ Release\
+ Release\
+ false
+
+
+
+ Disabled
+ WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebug
+
+
+ Level3
+ EditAndContinue
+
+
+ imm32.lib;%(AdditionalDependencies)
+ $(OutDir)Installer.exe
+ true
+ $(OutDir)Installer.pdb
+ Windows
+ false
+
+ MachineX86
+
+
+
+
+ WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ MultiThreaded
+
+
+ Level3
+ ProgramDatabase
+
+
+ imm32.lib;%(AdditionalDependencies)
+ $(OutDir)Installer.exe
+ true
+ Windows
+ true
+ true
+ false
+
+ MachineX86
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Installer/Installer.vcxproj.filters b/Installer/Installer.vcxproj.filters
new file mode 100644
index 0000000..473bd1d
--- /dev/null
+++ b/Installer/Installer.vcxproj.filters
@@ -0,0 +1,41 @@
+嚜
+
+
+
+ {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
+ cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
+
+
+ {93995380-89BD-4b04-88EB-625FBE52EBFB}
+ h;hpp;hxx;hm;inl;inc;xsd
+
+
+ {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
+ rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
+
+
+
+
+ 憪蝔撘瑼
+
+
+
+
+ 璅剜
+
+
+ 璅剜
+
+
+
+
+ 鞈皞瑼
+
+
+ 鞈皞瑼
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnlineUpdate/Debug/OnlineUpdate.Build.CppClean.log b/OnlineUpdate/Debug/OnlineUpdate.Build.CppClean.log
new file mode 100644
index 0000000..7935411
--- /dev/null
+++ b/OnlineUpdate/Debug/OnlineUpdate.Build.CppClean.log
@@ -0,0 +1,31 @@
+D:\WINDOWS-CHEWING\ONLINEUPDATE\DEBUG\ONLINEUPDATE.OBJ
+D:\WINDOWS-CHEWING\ONLINEUPDATE\DEBUG\VC110.PDB
+D:\WINDOWS-CHEWING\ONLINEUPDATE\DEBUG\UPDATE.ILK
+D:\WINDOWS-CHEWING\ONLINEUPDATE\DEBUG\UPDATE.EXE
+D:\WINDOWS-CHEWING\ONLINEUPDATE\DEBUG\ONLINEUPDATE.PDB
+D:\WINDOWS-CHEWING\ONLINEUPDATE\DEBUG\ONLINEUPDATE.RES
+D:\WINDOWS-CHEWING\ONLINEUPDATE\DEBUG\ONLINEUPDATE.EXE.EMBED.MANIFEST.RES
+D:\windows-chewing\OnlineUpdate\Debug\OnlineUpdate.obj
+D:\windows-chewing\OnlineUpdate\Debug\Update.ilk
+D:\windows-chewing\OnlineUpdate\Debug\cl.command.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\CL.read.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\CL.write.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\link-cvtres.read.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\link-cvtres.write.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\link-mt.read.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\link-mt.write.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\link-rc.read.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\link-rc.write.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\link.command.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\link.read.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\link.write.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\rc.command.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\rc.read.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\rc.write.1.tlog
+D:\windows-chewing\OnlineUpdate\Debug\OnlineUpdate.exe.embed.manifest
+D:\windows-chewing\OnlineUpdate\Debug\OnlineUpdate.exe.embed.manifest.res
+D:\windows-chewing\OnlineUpdate\Debug\OnlineUpdate.res
+D:\windows-chewing\OnlineUpdate\Debug\vc110.idb
+D:\windows-chewing\OnlineUpdate\Debug\OnlineUpdate.pdb
+D:\windows-chewing\OnlineUpdate\Debug\vc110.pdb
+D:\windows-chewing\OnlineUpdate\Debug\OnlineUpdate_manifest.rc
diff --git a/OnlineUpdate/Debug/OnlineUpdate.log b/OnlineUpdate/Debug/OnlineUpdate.log
new file mode 100644
index 0000000..dc38121
--- /dev/null
+++ b/OnlineUpdate/Debug/OnlineUpdate.log
@@ -0,0 +1,5 @@
+嚜踹歇蝬憪撱箇蔭 2013/8/8 銝 09:55:03
+
+撱箇蔭
+
+蝬 00:00:00.02
diff --git a/OnlineUpdate/OnlineUpdate.vcxproj b/OnlineUpdate/OnlineUpdate.vcxproj
new file mode 100644
index 0000000..3fd8877
--- /dev/null
+++ b/OnlineUpdate/OnlineUpdate.vcxproj
@@ -0,0 +1,116 @@
+嚜
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {DC981667-BE17-4BFF-BD24-8E5417B8C5D0}
+ Win32Proj
+
+
+
+ Application
+ v110
+ MultiByte
+
+
+ Application
+ v110
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.60610.1
+
+
+ Debug\
+ Debug\
+ true
+
+
+ Release\
+ Release\
+ false
+
+
+
+ Disabled
+ WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebug
+
+
+ Level3
+ EditAndContinue
+
+
+ wininet.lib;%(AdditionalDependencies)
+ $(OutDir)Update.exe
+ true
+ $(OutDir)OnlineUpdate.pdb
+ Windows
+ false
+
+ MachineX86
+
+
+
+
+ WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ MultiThreaded
+
+
+ Level3
+ ProgramDatabase
+
+
+ wininet.lib;%(AdditionalDependencies)
+ $(OutDir)Update.exe
+ true
+ Windows
+ true
+ true
+ false
+
+ MachineX86
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/OnlineUpdate/OnlineUpdate.vcxproj.filters b/OnlineUpdate/OnlineUpdate.vcxproj.filters
new file mode 100644
index 0000000..1550361
--- /dev/null
+++ b/OnlineUpdate/OnlineUpdate.vcxproj.filters
@@ -0,0 +1,33 @@
+嚜
+
+
+
+ {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
+ cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
+
+
+ {93995380-89BD-4b04-88EB-625FBE52EBFB}
+ h;hpp;hxx;hm;inl;inc;xsd
+
+
+
+
+ 憪蝔撘瑼
+
+
+
+
+ 璅剜
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/README.txt b/README.txt
new file mode 100644
index 0000000..390caf5
--- /dev/null
+++ b/README.txt
@@ -0,0 +1,16 @@
+Build step:
+1. Checkout windows-chewing in the same libchewing folder.
+ It should be follow list.
+x:\libchewing
+x:\windows-chewing
+
+2. Make "libchewing_win32" folder ,and generators libchewing's makefile by cmake
+
+3. build "chewing.vcxproj" debug mode in "libchewing_win32" folder to create chewing.lib in debug folder.
+ you can find the chewing.lib in your "x:\libchewing\debug\" folder.
+
+4. Now you can build the windows-chewing.
+
+Know Issue:
+1. HashEd_UTF8 project will build error
+2. ChewingIME and ChewingServer can build success, but still cannot use.
\ No newline at end of file
diff --git a/big52utf8/big52utf8.vcxproj b/big52utf8/big52utf8.vcxproj
new file mode 100644
index 0000000..01ddc84
--- /dev/null
+++ b/big52utf8/big52utf8.vcxproj
@@ -0,0 +1,99 @@
+嚜
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+
+ {FEA2192A-7A54-46C9-A194-16B2B4268C26}
+ Win32Proj
+
+
+
+ Application
+ v110
+ MultiByte
+
+
+ Application
+ v110
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ProjectFileVersion>11.0.60610.1
+
+
+ Debug\
+ Debug\
+ true
+
+
+ Release\
+ Release\
+ false
+
+
+
+ Disabled
+ WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ true
+ EnableFastChecks
+ MultiThreadedDebug
+
+ Level3
+ EditAndContinue
+
+
+ $(OutDir)big52utf8.exe
+ true
+ $(OutDir)big52utf8.pdb
+ Windows
+ false
+
+ MachineX86
+
+
+
+
+ WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)
+ MultiThreaded
+
+ Level3
+ ProgramDatabase
+
+
+ $(OutDir)big52utf8.exe
+ true
+ Windows
+ true
+ true
+ false
+
+ MachineX86
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/big52utf8/big52utf8.vcxproj.filters b/big52utf8/big52utf8.vcxproj.filters
new file mode 100644
index 0000000..b5440c1
--- /dev/null
+++ b/big52utf8/big52utf8.vcxproj.filters
@@ -0,0 +1,22 @@
+嚜
+
+
+
+ {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
+ cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx
+
+
+ {93995380-89BD-4b04-88EB-625FBE52EBFB}
+ h;hpp;hxx;hm;inl;inc;xsd
+
+
+ {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
+ rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx
+
+
+
+
+ 憪蝔撘瑼
+
+
+
\ No newline at end of file
diff --git a/win32chewing.dsw b/win32chewing.dsw
deleted file mode 100644
index 914d1ed..0000000
--- a/win32chewing.dsw
+++ /dev/null
@@ -1,56 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
-
-###############################################################################
-
-Project: "ChewingIME"=".\ChewingIME\ChewingIME.dsp" - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
- Begin Project Dependency
- Project_Dep_Name ChewingServer
- End Project Dependency
-}}}
-
-###############################################################################
-
-Project: "ChewingServer"=".\ChewingServer\ChewingServer.dsp" - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Project: "HashEd"=".\HashEd\HashEd.dsp" - Package Owner=<4>
-
-Package=<5>
-{{{
-}}}
-
-Package=<4>
-{{{
-}}}
-
-###############################################################################
-
-Global:
-
-Package=<5>
-{{{
-}}}
-
-Package=<3>
-{{{
-}}}
-
-###############################################################################
-