|
|
Microsoft Windows NT Pre-Release 11-19-1991
/****************************************************************************
Microsoft RPC Version 1.0 Alpha
October 1991
Hello1 Example
FILE: hello1\client.c
USAGE: client
PURPOSE: Client side of RPC distributed application hello1
FUNCTIONS: main() - makes remote procedure call to HelloProc1
COMMENTS: This version of the distributed application that
prints "hello, world" on the server features automatic binding.
The client main program, below, does not include any code
relating to remote procedure call. It simply calls the
remote procedure as though it were a local procedure.
****************************************************************************/
#include <stdlib.h>
#include <windows.h>
#include <string.h>
#include <stdio.h>
#include <ctype.h>
#include <rpc.h>
#include "hello1.h" // RPC data for this interface
void main(void)
{
printf("This application requires the locator service.\n");
printf("The locator service is not provided with RPC V1.0 Alpha.\n");
exit(0);
HelloProc1(); // perform remote processing
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.