[Mobies-commit] [commit] r3999 - UDM/trunk/src/UdmGme

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Thu Feb 2 16:30:41 CST 2012


Author: ksmyth
Date: Thu Feb  2 16:30:41 2012
New Revision: 3999

Log:
Need inproc MgaProject, since collections::GetAll uses size_is, which isnt marshalled by the typelib marshaller

Modified:
   UDM/trunk/src/UdmGme/UdmGme.cpp

Modified: UDM/trunk/src/UdmGme/UdmGme.cpp
==============================================================================
--- UDM/trunk/src/UdmGme/UdmGme.cpp	Thu Feb  2 16:30:23 2012	(r3998)
+++ UDM/trunk/src/UdmGme/UdmGme.cpp	Thu Feb  2 16:30:41 2012	(r3999)
@@ -3764,7 +3764,7 @@
 		hasOpened=false;
 		semantics = sem;
 		IMgaProjectPtr  &project = priv.project;
-		COMTHROW(project.CreateInstance(	OLESTR("Mga.MgaProject")));
+		COMTHROW(project.CreateInstance(OLESTR("Mga.MgaProject"), 0, CLSCTX_INPROC));
 		CheckVersion(project);
 		VARIANT_BOOL ro;
 		try {
@@ -3800,7 +3800,7 @@
 		hasOpened=false;
 		semantics = sem;
 		IMgaProjectPtr  &project = priv.project;
-		COMTHROW(project.CreateInstance(	OLESTR("MGA.MgaProject")));
+		COMTHROW(project.CreateInstance(OLESTR("MGA.MgaProject"), 0, CLSCTX_INPROC));
 		CheckVersion(project);
 		try {
 			COMTHROW(project->Create( createGMEconnstr(systemname), SmartBSTR(metalocator.c_str())));


More information about the Mobies-commit mailing list