[GME-commit]
GMESRC/GME/ConstraintManager ConstraintMgr.cpp,1.16,1.17
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Wed Aug 25 09:53:39 CDT 2004
Update of /var/lib/gme/GMESRC/GME/ConstraintManager
In directory braindrain:/tmp/cvs-serv7916
Modified Files:
ConstraintMgr.cpp
Log Message:
Interface modified
CVS User: bogyom
Index: ConstraintMgr.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/ConstraintManager/ConstraintMgr.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** ConstraintMgr.cpp 24 Aug 2004 22:37:05 -0000 1.16
--- ConstraintMgr.cpp 25 Aug 2004 13:53:36 -0000 1.17
***************
*** 39,45 ****
COMTHROW(m_spProject->GetClientByName((BSTR)app, &client));
! IDispatch* gui=NULL;
COMTHROW(client->get_OLEServer(&gui));
! COleDispatchDriver dispdrv(gui);
const BYTE BASED_CODE partypes[] = VTS_UNKNOWN;
--- 39,47 ----
COMTHROW(m_spProject->GetClientByName((BSTR)app, &client));
! CComPtr<IDispatch> gui;
COMTHROW(client->get_OLEServer(&gui));
! CComPtr<IGMEOLEApp> oleapp;
! COMTHROW(gui.QueryInterface(&oleapp));
! /* COleDispatchDriver dispdrv(gui);
const BYTE BASED_CODE partypes[] = VTS_UNKNOWN;
***************
*** 48,54 ****
--- 50,64 ----
dispdrv.InvokeHelper(33, DISPATCH_METHOD, VT_EMPTY, NULL, partypes, (IUnknown*)gotoPunk);
}
+ */
+ try
+ {
+ CComPtr<IMgaFCO> fco;
+ COMTHROW(gotoPunk.QueryInterface(&fco));
+ COMTHROW(oleapp->ShowFCO(fco));
+ }
catch (CException* e)
{
}
+
}
catch(hresult_exception &e)
More information about the GME-commit
mailing list