Jean-Francois Hamelin
7/16/2004 2:23:00 PM
Hi,
I have defined an interface that is implemented by my server object, my
server object is hosted in IIS. Now I want to client activate the server
object, but the client only that the interface definition. When I do
something like:
IClass1 remoteClass1 = Activator.CreateInstance( typeof( IClass1 ) ) as
IClass1;
I received the following exception: Cannot create an instance of an
interface. Which is understandable.
Is it possible to this?
Thanks in advance.
JF