Add a new function in server side,the the old client can not work?

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



In the Server side code,there has 2 classes, A and B. and B implements
A.After compile the project,VB generates 2 interfaces _A and _B, 2 classes A
and B,and the A class supports the _A interface,and B class supports _A and
_B interface.
Now i add a new function in class A. And recompile it use binary
compatibility property,then the interface _A has changed it's GUID,and the
compiler generates a more interface _A___V0 which GUID equals the origin
interface _A,so now the compiler generates 3 interfaces _A,_A___V0 and _B,2
classes A and B,and A supports _A and _A___V0 interfaces,and B supports _A
and _B interfaces.

The client side code is below
Dim o as A
Set o=new B
compile the client side code and generate client.exe.

Before change the server side code,the client.exe work correctly,but after
add the new function, the client.exe can not work because of the class B
don't support the _A___V0 interface.

My question:
After recompile the server side code, Why does the class B not support the
_A___V0 interface?


.



Relevant Pages

  • Re: What doesnt lend itself to OO?
    ... >>server is a pure data transfer interface. ... essentially exposing the client or service implementation. ... >>paradigms can be abstracted just like any other problem space in an OO ...
    (comp.object)
  • Re: What doesnt lend itself to OO?
    ... The whole idea that a subsystem is just ... > The first line exists in the server. ... objects between client and server i.e. as far as the client code is ... > external interface is the traditional input interface whose ...
    (comp.object)
  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)
  • Re: What doesnt lend itself to OO?
    ... >> The problem with stateless programming is that it turns object ... > server is a pure data transfer interface. ... So the client should be ...
    (comp.object)
  • Re: What doesnt lend itself to OO?
    ... > A pure data transfer interface consists of messages that have a message ... > essentially exposing the client or service implementation. ... stateless ones like web services etc look like ... I was using the IT view of client/server where the server ...
    (comp.object)