Changing Event Signature
- From: "GaryGen" <gary@xxxxxxxxxxx>
- Date: 18 Jul 2006 10:00:10 -0700
In the COM interface to my EXE, I have multiple events defined. I am
coding in VC6/IDL. The events are fired via pDispatch->Invoke.
I recently created Version 2 of my program and added a parameter to the
middle of the parameter list of a little-used event. Since I changed
the parameters, I increased the MAJOR version of the library.
Version 1 works fine if it is the last EXE to register. Version 2 works
fine if it is the last EXE to register. HOWEVER, version 1 crashes
while issuing this event if version 2 was the last to register. My COM
client does not listen to this particular event. However, the problem
appears to be related to the event parameters for this event.
Is there a correct way to modify the parameter list of an event between
versions, or is this not supported?
.
- Follow-Ups:
- Re: Changing Event Signature
- From: Brian Muth
- Re: Changing Event Signature
- From: Alexander Nickolov
- Re: Changing Event Signature
- Prev by Date: Re: Problem marshalling interface pointer into local server
- Next by Date: Re: Mixing ATL and MFC
- Previous by thread: Re: QueryInterface failure.
- Next by thread: Re: Changing Event Signature
- Index(es):
Relevant Pages
|