ROPE-Big5
如果你使用 Microsoft 所推出的 SOAP Toolkit 1.0 (December 2000 Release),並且想在傳遞的訊息中使用中文時, 就會發現訊息常變成亂碼,甚或是無法運作的情形。這是因為 SOAP Toolkit 中並沒有指定訊息的編碼型態。 幸好,SOAP Toolkit 提供了 ROPE 的原始碼,讓我們得以將 ROPE 修改成支援 Big5 編碼。
修改的步驟十分簡單,僅需修改一行程式並重新編譯即可,如果你不熟悉軟體開發,或者是沒有適當的環境, 亦或是懶的自己改,我也提供了我自己改好,編譯好的 ROPE.dll 供使用。
如何使用?
使用方法一:開始修改!
------------------------------------------------------------ 3.5 Rebuilding ROPE.DLL with the "Multithreaded DLL" option ------------------------------------------------------------ Significant performance advantages can be had by rebuilding the ROPE.DLL so that it will use the Windows 2000 version of the C runtime DLL. To take advantage of the Windows 2000 C runtime heap management that offers the performance enhancements, you will need to recompile your application with the C/C++ option under "Code Generation" set to "Multithreaded DLL." Otherwise the minimum dependency build of the rope.dll will contain the Visual C++ 6.0 version of the static C runtime library which offers no performance improvements. The reason the toolkit is not built with the Multithreaded DLL option is to avoid having to ship MSVCP60.DLL separately. MSVCP60.DLL is not part of the operating system and if you build your ROPE.DLL with the "Multithreaded DLL" option then you will need to redistribute MSVCP60.DLL with your application. Also, if you happen to want to use ROPE.DLL on a Windows NT 4.0 machine then building with only "Multithreaded" will allow the same DLL to work on both NT4 and Windows 2000. See the Visual Studio 6.0 documentation for more information on redistributing this DLL. ------------------------------- 3.6 Building the ROPE Project ------------------------------- The current version of the ROPE project requires files from a recent version of the Platform SDK. In particular you must have the include and lib files from the SDK in your corresponding paths before the Visual Studio include and lib files.
"'1.0'" \"'1.0' encoding='Big5'" \給 Windows 2000
如果你有 MSVCP60.DLL,而且作業系統是 Windows 2000,編譯時可以選擇使用 "Multithreaded DLL",可以提升效能Back Home
Last Modified: Febrary 16, 2001