[gme-users] Invoking runComponent from GME Addon.

Peter Volgyesi peter.volgyesi at vanderbilt.edu
Wed Dec 7 12:39:22 CST 2005


You are right, you cannot invoke another interpreter from the event handler.

Even if you would invoke it by using a lower level COM API, it failed, since
the interpreter would (try to) initate a transaction on its own.

--
Peter Volgyesi
Vanderbilt University, ISIS  

> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu 
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf 
> Of Daniel Waddington
> Sent: Wednesday, December 07, 2005 11:51 AM
> To: A list for GME users to share thoughts and discuss bugs and fixes.
> Subject: Re: [gme-users] Invoking runComponent from GME Addon.
> 
> Short of discussing this with my self, is this because I am 
> already in a transaction, and runComponent tries to create a 
> new transaction?  
> or am I totally off?
> 
> Daniel.
> 
> On Dec 7, 2005, at 8:58 AM, Daniel Waddington wrote:
> 
> > Hi,
> >
> > I think I am seriously missing something in the execution 
> architecture 
> > of BON2.  In my object event handling method, inside a GME Addon, I 
> > want to trigger an interpreter.
> >
> > So I thought I could do..
> >
> > object->getProject()->runComponent("MGA.Interpreter.EML");
> >
> > but then I get an exception in COMCLASS::Initialize(struct 
> IMgaProject 
> > *p) in a some CComPtr declaration???
> >
> > Please help, I'm in dispair!!!
> >
> > Daniel.
> >
> > ===============================
> >  Dr. Daniel G. Waddington
> >  Lockheed Martin ATL
> >  3 Executive Campus, 6th Floor
> >  Cherry Hill, NJ 08002
> >  Tel:856 792 9740
> > ===============================
> >
> >
> >
> >
> > _______________________________________________
> > gme-users mailing list
> > gme-users at list.isis.vanderbilt.edu
> > http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
> 
> ===============================
>   Dr. Daniel G. Waddington
>   Lockheed Martin ATL
>   3 Executive Campus, 6th Floor
>   Cherry Hill, NJ 08002
>   Tel:856 792 9740
> ===============================
> 
> 
> 
> 
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users



More information about the gme-users mailing list