[commit] r1366 - trunk/GME/Interfaces

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Fri Jun 17 16:33:51 CDT 2011


Author: ksmyth
Date: Fri Jun 17 16:33:51 2011
New Revision: 1366

Log:
Work around "MIDL changes the case of identifier in generated type library" http://support.microsoft.com/kb/q220137/ . Not everything is case insensitive, e.g. Python COM (see gme.py) and #import, so we need the properties to be named properly

Modified:
   trunk/GME/Interfaces/Core.idl

Modified: trunk/GME/Interfaces/Core.idl
==============================================================================
--- trunk/GME/Interfaces/Core.idl	Fri Jun 17 16:29:46 2011	(r1365)
+++ trunk/GME/Interfaces/Core.idl	Fri Jun 17 16:33:51 2011	(r1366)
@@ -321,13 +321,13 @@
 	// --- Object
 
 	[helpstring("method OpenObject")]
-	HRESULT OpenObject([in] objid_type objid);
+	HRESULT OpenObject([in] objid_type ObjID);
 
 	[helpstring("method CloseObject")]
 	HRESULT CloseObject();
 
 	[helpstring("method CreateObject")]
-	HRESULT CreateObject([out] objid_type *objid);
+	HRESULT CreateObject([out] objid_type *ObjID);
 
 	[helpstring("method DeleteObject")]
 	HRESULT DeleteObject();
@@ -391,11 +391,11 @@
 	// --- Objects
 
 	[propget, id(DISPID_VALUE), helpstring("property Object")]
-	HRESULT Object([in] metaid_type metaid, [in] objid_type objid, 
+	HRESULT Object([in] metaid_type metaid, [in] objid_type ObjID, 
 		[out, retval] ICoreObject **p);
 
 	[helpstring("getter for property Object")]
-	HRESULT GetObjectDisp([in] metaid_type metaid, [in] objid_type objid, 
+	HRESULT GetObjectDisp([in] metaid_type metaid, [in] objid_type ObjID, 
 		[out, retval] ICoreObject **p);
 
 	[helpstring("method CreateObject")]


More information about the gme-commit mailing list