Click here to Skip to main content
15,881,812 members
Articles / Desktop Programming / Win32

Introduction to RPC - Part 1

Rate me:
Please Sign up or sign in to vote.
4.85/5 (115 votes)
22 Dec 2012CPOL6 min read 1.1M   21.8K   258  
An introduction to RPC programming. A simple RPC client/server application is explained.
// File Example1Explicit.idl
[
   // A unique identifier that distinguishes this interface from other interfaces.
   uuid(00000002-EAF3-4A7A-A0F2-BCE4C30DA77E),

   // This is version 1.0 of this interface.
   version(1.0)
]
interface Example1Explicit // The interface is named Example1Explicit
{
   // A function that takes a binding handle and a zero-terminated string.
   void Output(
      [in] handle_t hBinding,
      [in, string] const char* szOutput);
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Sweden Sweden
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions