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 >
Text File  |  1994-05-08  |  2KB  |  56 lines

  1. This directory contains four files:
  2.  
  3. README    - this file
  4.  
  5. Makefile  - general makefile 
  6.  
  7. list.h    - data structures for alias.c program
  8. umacros.h - varius macros for the alias program.
  9.  
  10. alias.c   - main program of the Non-DCE binop application.
  11.             checks for different alias operations.
  12.  
  13. caux.c    - contains the client_aux() function which is called 
  14.             by the main program (alias.c); calls functions in manager.c
  15.  
  16. manager.c - alias operations to be executed which are the remote
  17.             functions to be called in the distributed DCE application.
  18.  
  19. alias.idl - correct IDL file for manager.c. The file generated
  20.              by IDLGEN has to be fixed manually by the user:
  21.  
  22.              - change all "ref" tokens to "ptr"
  23.              - add "size_is(s)" to the description list for op2().
  24.  
  25.              The original file is idl.org.
  26.              DO NOT DELETE THIS FILE.
  27.                
  28. alias.apf - apllication profile for the MakeDCE client and server
  29.             applications.
  30.  
  31. when you type "nmake" you should get the following message:
  32.  
  33. Do one of yhe following:
  34. 1. nmake help - to display this maessage.
  35. 2. nmake clean - to delete then non-source files.
  36. 3. nmake alias - to make the Non-DCE 'alias' program.
  37. 4. nmake alias.idl - to make the IDL file for manager.c.
  38. 6. nmake client - to make the client side of 'alias'.
  39. 7. nmake server - to make the server side of 'alias'.
  40.  
  41. ATTENTION:
  42.    The "rpcd" deamon should be running, in order for the client and
  43.    server to run properly.
  44.  
  45.    If for some reason yu can not run "rpcd", use "string" bindtype
  46.    in alias.apf, or use fixed endpoint.
  47.  
  48.    To create the DCE application you must execute four steps:
  49.    1. nmake alias.idl
  50.    2  fix alias.idl according to alias.idl.org
  51.       - change all "ref" tokens to "ptr"
  52.       - add "size_is(s)" to the description list for op2().
  53.    3. nmake client
  54.    4. nmake server
  55. 
  56.