المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : RPC and C++: Build a Template Library for Distributed Objects Containing Multiple Int



C++ Programming
03-29-2009, 02:42 AM
Building a C++ template library for developing distributed object-oriented applications using Remote Procedure Calls (RPC) allows the programmer to design RPC applications that are composed of components that implement multiple interfaces. This article demonstrates the use of techniques such as assembly-level thunks to build machine code on the fly, and C++ features such as templates, conversion operators, virtual destructors and virtual function tables. Along the way, familiar C++ interfaces and classes are transformed into a distributed application. The benefits of using distributed objects rather than raw remote procedures, which include writing fewer lines of code, is explained.

Ajai Shankar

<a href="http://msdn.microsoft.com/magazine/a23891b1-9276-41b1-ab32-ce3ed56f2745">MSDN Magazine November 2000