[commit] r2579 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Jan 27 14:14:53 CST 2015


Author: volgy
Date: Tue Jan 27 14:14:53 2015
New Revision: 2579

Log:
Fix 'automatic addons could not start' error message: a previous GetErrorInfo call was clearing the error info. (Kevin's patch)

Modified:
   trunk/GME/Gme/GMEApp.cpp

Modified: trunk/GME/Gme/GMEApp.cpp
==============================================================================
--- trunk/GME/Gme/GMEApp.cpp	Tue Jan 27 13:43:37 2015	(r2578)
+++ trunk/GME/Gme/GMEApp.cpp	Tue Jan 27 14:14:53 2015	(r2579)
@@ -1547,10 +1547,8 @@
 					}
 				}
 				if(hr == E_MGA_COMPONENT_ERROR) {
-					_bstr_t errorInfo;
-					GetErrorInfo(errorInfo.GetAddress());
 					_bstr_t err(_T("ERROR: automatic addon components could not start up:\n"));
-					err += errorInfo;
+                    err += mgaProjectOpenError;
 					err += "\nDo you want to open the project without addons?";
 					if (AfxMessageBox(err, MB_YESNO) == IDYES) {
 						enableAutoAddOns = VARIANT_FALSE;


More information about the gme-commit mailing list