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

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Mon Jun 20 09:14:03 CDT 2011


Author: ksmyth
Date: Mon Jun 20 09:14:03 2011
New Revision: 3763

Log:
Compile against GME SVN r1366

Modified:
   UDM/trunk/src/UdmGme/CommonHeaders.h
   UDM/trunk/src/UdmGme/imports.cpp

Modified: UDM/trunk/src/UdmGme/CommonHeaders.h
==============================================================================
--- UDM/trunk/src/UdmGme/CommonHeaders.h	Fri Jun 17 09:09:51 2011	(r3762)
+++ UDM/trunk/src/UdmGme/CommonHeaders.h	Mon Jun 20 09:14:03 2011	(r3763)
@@ -21,8 +21,9 @@
 			- removed  the UdmGme.h #include directive, and added the only function which is needed from that namespace
 */
 
-#import "progid:Mga.MgaMetaFolder" version("1.0") no_implementation
-#import "progid:Mga.MgaFolders" version("1.0") no_implementation
+// KMS: these renames are for GME r1365 (Work around "MIDL changes the case of identifier in generated type library" http://support.microsoft.com/kb/q220137/)
+#import "progid:Mga.MgaMetaFolder" version("1.0") no_implementation rename("Kind", "kind")
+#import "progid:Mga.MgaFolders" version("1.0") no_implementation rename("Dst", "dst") rename("Src", "src") rename("Kind", "kind")
 #import "progid:Mga.CoreBinFile" version("1.0") no_implementation
 // GMELib
 #import "libid:0ADEEC71-D83A-11D3-B36B-005004CC8592" no_implementation

Modified: UDM/trunk/src/UdmGme/imports.cpp
==============================================================================
--- UDM/trunk/src/UdmGme/imports.cpp	Fri Jun 17 09:09:51 2011	(r3762)
+++ UDM/trunk/src/UdmGme/imports.cpp	Mon Jun 20 09:14:03 2011	(r3763)
@@ -1,8 +1,8 @@
 #pragma warning( disable : 4786 )
 #include "CommonHeaders.h"
 
-#import "progid:Mga.MgaMetaFolder" version("1.0") implementation_only
-#import "progid:Mga.MgaFolders" version("1.0") implementation_only
+#import "progid:Mga.MgaMetaFolder" version("1.0") implementation_only rename("Kind", "kind")
+#import "progid:Mga.MgaFolders" version("1.0") implementation_only rename("Dst", "dst") rename("Src", "src") rename("Kind", "kind")
 #import "progid:Mga.CoreBinFile" version("1.0") implementation_only
 // GMELib
 #import "libid:0ADEEC71-D83A-11D3-B36B-005004CC8592" implementation_only


More information about the Mobies-commit mailing list