OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Ramakrishna (ramakrishna3CSOFTWARE.COM)
Date: Sat May 19 2001 - 19:30:39 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

        I don't see any problem here because the existing clients (which are
    compiled and built into exe) would still continue to run without any
    problem.
        The problem would only occur if you reopen the VB project which uses
    this typelibrary in that case you may need to do changes in the VB code.

    ----- Original Message -----
    From: "Simon Fell" <dcomZAKS.DEMON.CO.UK>
    To: <DCOMDISCUSS.MICROSOFT.COM>
    Sent: Saturday, May 19, 2001 2:22 PM
    Subject: Versioning default interface's

    Hi,

    I have a component that i need to revise, I'm happy with all the rules
    regarding interfaces, but can i change the default interface on the
    coclass ?

    e.g. i have
    Interface IA : IUnknown {
    };
    Interface IB : IUnknown {
    };
    coclass A {
    [default] interface IA ;
    interface IB ;
    };

    can i change this to
    Interface IA : IUnknown {
    };
    Interface IB : IUnknown {
    };
    Interface IC : IA {
    };
    coclass A {
    [default] interface IC ;
    interface IA ;
    interface IB ;
    };

    or
    Interface IA : IUnknown {
    };
    Interface IB : IUnknown {
    };
    Interface IC : IUnknown {
    };
    coclass A {
    [default] interface IC ;
    interface IA ;
    interface IB ;
    };

    I think the first change is ok, but i can see that the second one
    might break VB code (because a different interface is now mapped to
    the classname by VB, ggrrrhhh )

    Thanks
    Simon

    ----------------------------------------------------------------
    Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
    contains important info. Save time, search the archives at
    http://discuss.microsoft.com/archives/index.html .
    To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

    ----------------------------------------------------------------
    Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
    contains important info. Save time, search the archives at
    http://discuss.microsoft.com/archives/index.html .
    To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM