O'Reilly logo

Extending MFC Applications with the .NET Framework by Nishant Sivakumar, Tom Archer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Demo: Writing a Demo Remoting Application

In this section we'll write a simple remoting server that remotes an object, and a remoting client that accesses and uses this object. The remoting server and client can be in different AppDomains, in different processes on the same computer, on different computers on the same network, or on different computers that can connect to each other through the Internet. It does not make any difference at all, as the remoting layer will handle it for us. For the example we'll design a simple object that will have two methods: one that returns a simple .NET object and another that returns a user-defined complex object.

Designing and Coding the Interface

The reason we need an interface is simple, and its function ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required