[commit] r1735 - in trunk/GME: Core Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Dec 7 19:15:46 CST 2011


Author: ksmyth
Date: Wed Dec  7 19:15:46 2011
New Revision: 1735

Log:
GME-383: disable Multi-user backend under x64

Modified:
   trunk/GME/Core/CoreProject.cpp
   trunk/GME/Gme/MgaOpenDlg.cpp

Modified: trunk/GME/Core/CoreProject.cpp
==============================================================================
--- trunk/GME/Core/CoreProject.cpp	Wed Dec  7 12:34:34 2011	(r1734)
+++ trunk/GME/Core/CoreProject.cpp	Wed Dec  7 19:15:46 2011	(r1735)
@@ -275,7 +275,7 @@
         else if( con == "MGX" )
 		{
 			CComObjPtr<ICoreStorage> xmlfile;
-            xmlfile.CoCreateInstance( L"Mga.CoreXmlFile" );
+            COMTHROW(xmlfile.CoCreateInstance(L"Mga.CoreXmlFile"));
 			
 			corestorage = xmlfile;
 		}

Modified: trunk/GME/Gme/MgaOpenDlg.cpp
==============================================================================
--- trunk/GME/Gme/MgaOpenDlg.cpp	Wed Dec  7 12:34:34 2011	(r1734)
+++ trunk/GME/Gme/MgaOpenDlg.cpp	Wed Dec  7 19:15:46 2011	(r1735)
@@ -311,6 +311,9 @@
 	SetWindowText(title);
 	GetDlgItem(IDC_RADIO2)->SetWindowText(filemsg);
     GetDlgItem(IDC_RADIO4)->SetWindowText(xmlfilemsg);
+#if defined(_M_X64)
+	GetDlgItem(IDC_RADIO4)->EnableWindow(false);
+#endif
 
 	if( flag_meta )
 	{


More information about the gme-commit mailing list