home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
makedce.zip
/
EXAMPLES.ZIP
/
examples
/
Alias
/
README
< prev
next >
Wrap
Text File
|
1994-05-08
|
2KB
|
56 lines
This directory contains four files:
README - this file
Makefile - general makefile
list.h - data structures for alias.c program
umacros.h - varius macros for the alias program.
alias.c - main program of the Non-DCE binop application.
checks for different alias operations.
caux.c - contains the client_aux() function which is called
by the main program (alias.c); calls functions in manager.c
manager.c - alias operations to be executed which are the remote
functions to be called in the distributed DCE application.
alias.idl - correct IDL file for manager.c. The file generated
by IDLGEN has to be fixed manually by the user:
- change all "ref" tokens to "ptr"
- add "size_is(s)" to the description list for op2().
The original file is idl.org.
DO NOT DELETE THIS FILE.
alias.apf - apllication profile for the MakeDCE client and server
applications.
when you type "nmake" you should get the following message:
Do one of yhe following:
1. nmake help - to display this maessage.
2. nmake clean - to delete then non-source files.
3. nmake alias - to make the Non-DCE 'alias' program.
4. nmake alias.idl - to make the IDL file for manager.c.
6. nmake client - to make the client side of 'alias'.
7. nmake server - to make the server side of 'alias'.
ATTENTION:
The "rpcd" deamon should be running, in order for the client and
server to run properly.
If for some reason yu can not run "rpcd", use "string" bindtype
in alias.apf, or use fixed endpoint.
To create the DCE application you must execute four steps:
1. nmake alias.idl
2 fix alias.idl according to alias.idl.org
- change all "ref" tokens to "ptr"
- add "size_is(s)" to the description list for op2().
3. nmake client
4. nmake server