Re: OLE IDispatch exception code 0 from ?:?..

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Darwood (darrenw_at_nospamme.woodfordcomputers.co.uk)
Date: 06/10/04


Date: Thu, 10 Jun 2004 17:29:36 +0100

Thanks again Sietse. I think it will be easier for me to go with the Error
Procedure and create a new base class on which to base all my objects. I can
then just code the 1 error routine. Should be easier than decoupling all of
my objects. Ouch!
I still intend to learn more about design patterns as I have been putting it
off for too long. I googled mediator but still didn't make things much
clearer. Just off to order my copy of that book.
Regards
Darren
PS. Interesting that the VFP6 com server did not have a problem with this.

"Sietse Wijnker" <sietse.wijnker@ATsw-software.nl> wrote in message
news:eOuZ1RwTEHA.3944@tk2msftngp13.phx.gbl...
> >I don't know how you found that
> Been there, done that.... ;-)
>
> > Are you saying you call the mediate function instead of the normal
> function?
> yes
>
> > Would I have to change the structure to make my top level object a
> mediator
> > for all other objects instead of a container? Would this also apply to
> > subcontainers?
> Yes.
>
> > Would you suggest using the error
> > procedure as mentioned previously to avoid this pattern?
> Doesn't realy matter
>
> >can you point me in the right direction for some light reading on
> mediators.
> I've read the book 'Design Patterns' (about 4 times), after the last time
> most of the things talked about stuck or made some sense
> In my opinion it should be mandatory reading for any programmer. ISBN:
> 0-201-63361-2
> There probably is something to be found about the mediator pattern online,
> but i'll leave the googling to you.
>
> >Thanks for staying with it.
> You're welcome
>
> Sietse Wijnker
> SW-Software.nl
>
>
>



Relevant Pages

  • Re: software architecture/design question
    ... thought this pattern might be suitable. ... Mediator for the processor Collegues. ... the GoF example with GUI controls works nicely if one is providing a generic GUI subsystem to be used across applications. ... Then the subsystem interfaces provide the decoupling and the Facade pattern is more relevant because much of Mediator's work is a fait accompli since of the subsystems' isolation of subject matter, level of abstraction, and allocation of requirements. ...
    (comp.object)
  • Re: software architecture/design question
    ... for quick response clarifying some of the implications ... When deciding on mediator pattern here, ... (and thus possible bad speculations) ... That got me thinking, its reasonably intuitive to visualize a pattern, ...
    (comp.object)
  • Re: OLE IDispatch exception code 0 from ?:?..
    ... > for all other objects instead of a container? ... In my opinion it should be mandatory reading for any programmer. ... There probably is something to be found about the mediator pattern online, ...
    (microsoft.public.fox.programmer.exchange)
  • ChangeManager (Mediator)-Pattern Sample
    ... Hi I'm searching a sample how to use a ChangeManager (Based on the Mediator ... Pattern) ... Best regards Horst ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)