home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK11 / MFC / SAMPLES / TESTSERV / README.TX$ / readme
Encoding:
Text File  |  1992-03-18  |  2.1 KB  |  49 lines

  1. ========================================================================
  2.       MICROSOFT FOUNDATION CLASS LIBRARY : TESTSERV SAMPLE PROGRAM
  3. ========================================================================
  4.  
  5. CAUTION: Test Server (TESTSERV) should only be run by knowledgeable
  6. OLE developers familiar with the Microsoft OLE 1.0 Software
  7. Development Kit.  All others should use the OSERVER, MINSVR, and
  8. MINSVRMI sample programs before using TESTSERV.  It is also suggested
  9. that you read the MFC OLE tech notes (TN008.TXT, TN009.TXT, and
  10. TN010.TXT) for more information on MFC OLE support for clients and
  11. servers.
  12.  
  13. TESTSERV is a testing apparatus that works on production clients. 
  14. Developers writing OLE client applications can use TESTSERV as 
  15. a testbed for examining general OLE client/server interactions.
  16.  
  17. TESTSERV dumps debugging information to a debugging terminal or
  18. auxiliary port.  It also has a logging facility that will dump out
  19. selected messages to a file named TESTSERV.LOG.  TESTSERV detects
  20. many OLE protocol errors caused by client programs.
  21.  
  22.  
  23. Required Equipment
  24. ------------------
  25. TESTSERV requires the following dynamic link libraries:
  26. SHELL.DLL, OLESVR.DLL, and COMMDLG.DLL.
  27.  
  28. Before running TESTSERV as an OLE server (that is, via an OLE client)
  29. you must register it with the system registration database.  This is
  30. done by running TESTSERV DIRECTLY (i.e., from the program manager,
  31. file manager, or by double clicking on an icon ).
  32.  
  33. If you move TESTSERV.EXE to a different location you must re-run
  34. TESTSERV directly (as discussed above).  This will modify the
  35. information in the system registration database.
  36.  
  37.  
  38. Running TESTSERV
  39. -------------------
  40. TESTSERV behaves like a normal OLE server.  You can run the program
  41. directly, or run it as embedded by using a client Insert Object
  42. command.  You can also copy objects to the clipboard in both the
  43. embedded and linking formats.  Finally, you can reactivate the server
  44. by using the edit verb.
  45.  
  46. TESTSERV allows you to call APIs directly from the menu.  This is not
  47. recommended unless you are very familiar with the workings of OLE. 
  48. Improper use of these APIs can hang your machine.
  49.