[o2on-svn] [93] IMultiLanguage2に変更

Zurück zum Archiv-Index

o2on svn commit o2on-****@lists*****
2008年 5月 27日 (火) 21:48:10 JST


Revision: 93
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=o2on&view=rev&rev=93
Author:   k-uehara
Date:     2008-05-27 21:48:10 +0900 (Tue, 27 May 2008)

Log Message:
-----------
IMultiLanguage2に変更

Modified Paths:
--------------
    branches/BRANCH_0043/o2on/src.o2on/dataconv.cpp

Modified: branches/BRANCH_0043/o2on/src.o2on/dataconv.cpp
===================================================================
--- branches/BRANCH_0043/o2on/src.o2on/dataconv.cpp	2008-05-24 13:51:45 UTC (rev 92)
+++ branches/BRANCH_0043/o2on/src.o2on/dataconv.cpp	2008-05-27 12:48:10 UTC (rev 93)
@@ -644,9 +644,9 @@
 bool ToUnicode(const wchar_t *charset, const char *in, const uint len, wstring &out)
 {
 	//IMultiLanguage¶¬
-	IMultiLanguage *lang = NULL;
+	IMultiLanguage2 *lang = NULL;
 	HRESULT hr = CoCreateInstance(CLSID_CMultiLanguage, NULL,
-		CLSCTX_ALL, IID_IMultiLanguage, (LPVOID*)&lang);
+		CLSCTX_ALL, IID_IMultiLanguage2, (LPVOID*)&lang);
 
 	assert(SUCCEEDED(hr));
 	//Charsetî•ñŽæ“¾
@@ -684,9 +684,9 @@
 bool FromUnicode(const wchar_t *charset, const wchar_t *in, uint len, string &out)
 {
 	//IMultiLanguage¶¬
-	IMultiLanguage *lang = NULL;
+	IMultiLanguage2 *lang = NULL;
 	HRESULT hr = CoCreateInstance(CLSID_CMultiLanguage, NULL,
-		CLSCTX_ALL, IID_IMultiLanguage, (LPVOID*)&lang);
+		CLSCTX_ALL, IID_IMultiLanguage2, (LPVOID*)&lang);
 
 	assert(SUCCEEDED(hr));
 	//Charsetî•ñŽæ“¾




o2on-svn メーリングリストの案内
Zurück zum Archiv-Index