[commit] r2198 - trunk/SDK/BON/Common
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Tue May 21 12:31:46 CDT 2013
Author: ksmyth
Date: Tue May 21 12:31:46 2013
New Revision: 2198
Log:
Allow GME_COMPONENT_COM_THREAD to override COM threading
Modified:
trunk/SDK/BON/Common/ComponentObj.cpp
Modified: trunk/SDK/BON/Common/ComponentObj.cpp
==============================================================================
--- trunk/SDK/BON/Common/ComponentObj.cpp Tue May 21 12:31:10 2013 (r2197)
+++ trunk/SDK/BON/Common/ComponentObj.cpp Tue May 21 12:31:46 2013 (r2198)
@@ -351,7 +351,10 @@
// We register the ComponentClass
// CLSID_MGAComponentClass
-IMPLEMENT_OLECREATE_FLAGS(CComponentObj, COCLASS_PROGID, afxRegApartmentThreading,
+#ifndef GME_COMPONENT_COM_THREAD
+#define GME_COMPONENT_COM_THREAD afxRegApartmentThreading
+#endif
+IMPLEMENT_OLECREATE_FLAGS(CComponentObj, COCLASS_PROGID, GME_COMPONENT_COM_THREAD,
COCLASS_UUID_EXPLODED1,
COCLASS_UUID_EXPLODED2,
COCLASS_UUID_EXPLODED3,
More information about the gme-commit
mailing list