[commit] r2463 - trunk/Install
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Wed Apr 16 13:11:58 CDT 2014
Author: ksmyth
Date: Wed Apr 16 13:11:57 2014
New Revision: 2463
Log:
Add newer Parser.dll Interfaces to COM registration. Fixes bug where QueryInterface for IMgaDumper2, IMgaParser2, or IMgaParser3 will fail when the Parser or Dumper is in a different apartment or process. .NET error message looks like System.InvalidCastException: Unable to cast COM object of type 'GME.MGA.Parser.MgaDumperClass' to interface type 'GME.MGA.Parser.IMgaDumper2'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3813768B-5A4C-477D-BCD5-1776089948EC}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). Be sure to mark your .NET Main as [STAThread]
Modified:
trunk/Install/GME_bin.wxs
Modified: trunk/Install/GME_bin.wxs
==============================================================================
--- trunk/Install/GME_bin.wxs Wed Apr 16 13:11:48 2014 (r2462)
+++ trunk/Install/GME_bin.wxs Wed Apr 16 13:11:57 2014 (r2463)
@@ -712,7 +712,10 @@
</AppId>
<Interface Id="{70C41B24-E3CE-11D3-B37A-005004D38590}" Name="IMgaMetaParser" ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
<Interface Id="{94D6FB53-1F7C-11D4-B3D0-005004D38590}" Name="IMgaParser" ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
+ <Interface Id="{E39BEA37-384D-423B-ADDF-2BB13550F577}" Name="IMgaParser2" ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
+ <Interface Id="{5CAB528B-474B-4C52-BE40-74FF29AFBB58}" Name="IMgaParser3" ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
<Interface Id="{A5D0DAE6-16EE-11D4-B3C2-005004D38590}" Name="IMgaDumper" ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
+ <Interface Id="{3813768B-5A4C-477D-BCD5-1776089948EC}" Name="IMgaDumper2" ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
</TypeLib>
</File>
</Component>
More information about the gme-commit
mailing list