Changing Event Signature

Tech-Archive recommends: Fix windows errors by optimizing your registry



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?

.



Relevant Pages

  • Re: ActiveX EXE
    ... The progress bar is an EXE so that it can ... because VB automatically registers during compile. ... (Also see note below about project compatibility ... (You don't actually have to register an EXE. ...
    (microsoft.public.vb.general.discussion)
  • RE: Dependencies in my Setup project
    ... Carol, sorry this one slipped past my radar for so long, It sounds like ... would try registering it on your development machine. ... so set the register property of the added file to vsdrfCom. ... This exe is not part of my application but ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Accessing COM object within own EXE
    ... You can register you local server by running it with the parameter ... >I have an EXE program that needs to pass an interface to an IEnumString ...
    (microsoft.public.vc.atl)
  • Re: ActiveX EXE
    ... The progress bar is an EXE so that it can ... because VB automatically registers during compile. ... (Also see note below about project compatibility ... (You don't actually have to register an EXE. ...
    (microsoft.public.vb.general.discussion)
  • Re: ASP scripting compilation error: 80070002
    ... When you say you registered the exe, does that mean that this COM object is ... we ever tested or officially support having ASP pages create objects out of ... >I am a totally newbie in ASP / VB programming, I would like some help from ... > Step 5: Register the exe. ...
    (microsoft.public.windowsce.embedded.vb)