[o2on-svn] [88] FIX: Reindexでのエラー時に落ちるバグ修正

Back to archive index

o2on svn commit o2on-****@lists*****
2008年 5月 21日 (水) 23:22:30 JST


Revision: 88
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=o2on&view=rev&rev=88
Author:   k-uehara
Date:     2008-05-21 23:22:30 +0900 (Wed, 21 May 2008)

Log Message:
-----------
FIX: Reindexでのエラー時に落ちるバグ修正

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

Modified: branches/BRANCH_0043/o2on/src.o2on/O2DatIO.cpp
===================================================================
--- branches/BRANCH_0043/o2on/src.o2on/O2DatIO.cpp	2008-05-21 11:01:56 UTC (rev 87)
+++ branches/BRANCH_0043/o2on/src.o2on/O2DatIO.cpp	2008-05-21 14:22:30 UTC (rev 88)
@@ -1124,6 +1124,7 @@
 
 	O2DatIO *me = (O2DatIO*)data;
 
+	CoInitialize(NULL);
 	me->ProgressInfo->Reset(true, false);
 	me->ProgressInfo->SetMessage(L"reindex...");
 	me->ProgressInfo->AddMax(4);
@@ -1139,6 +1140,7 @@
 	}
 
 	me->ProgressInfo->Reset(false, false);
+	CoUninitialize();
 
 	CloseHandle(me->ReindexThreadHandle);
 	me->ReindexThreadHandle = NULL;




o2on-svn メーリングリストの案内
Back to archive index