[commit] r2054 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Sep 18 09:51:31 CDT 2012


Author: ksmyth
Date: Tue Sep 18 09:51:31 2012
New Revision: 2054

Log:
Refuse to show Meta Dialog out-of-proc

Modified:
   trunk/GME/Gme/GMEApp.cpp

Modified: trunk/GME/Gme/GMEApp.cpp
==============================================================================
--- trunk/GME/Gme/GMEApp.cpp	Wed Sep 12 14:16:10 2012	(r2053)
+++ trunk/GME/Gme/GMEApp.cpp	Tue Sep 18 09:51:31 2012	(r2054)
@@ -1860,7 +1860,7 @@
 		CMgaOpenDlg dlg(CMgaOpenDlg::NewDialog);
 
 		CComObjPtr<IMgaLauncher> launcher;
-		COMTHROW( launcher.CoCreateInstance(CComBSTR(L"Mga.MgaLauncher")) );
+		COMTHROW( launcher.CoCreateInstance(L"Mga.MgaLauncher", 0, CLSCTX_INPROC_SERVER) );
 
 	meta_label:
 		HRESULT hr = launcher->MetaDlg(METADLG_NEWFILE);
@@ -2506,7 +2506,7 @@
 	MSGTRY
 	{
 		CComPtr<IMgaLauncher> launcher;
-		COMTHROW( launcher.CoCreateInstance(L"Mga.MgaLauncher") );
+		COMTHROW( launcher.CoCreateInstance(L"Mga.MgaLauncher", 0, CLSCTX_INPROC_SERVER) );
 
 		while(1) {
 			HRESULT hr = launcher->MetaDlg(METADLG_PARREG);


More information about the gme-commit mailing list