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

  1. ==========================================================================
  2.        MICROSOFT FOUNDATION CLASS LIBRARY : TESTCLNT SAMPLE PROGRAM
  3. ==========================================================================
  4.  
  5. This file contains basic information on how to set up and use the
  6. Test Client (TESTCLNT) sample program.  
  7.  
  8. CAUTION: TESTCLNT should only be run by knowledgable OLE
  9. developers familar with the testing tools provided in the Microsoft
  10. OLE 1.0 Software Development Kit.  All others should use the OCLIENT
  11. program before using TESTCLNT.  It is also suggested that you read
  12. the MFC OLE technical notes (TN008.TXT, TN009.TXT, and TN010.TXT) for
  13. more information on OLE, clients, and servers.
  14.  
  15. TESTCLNT is a testing apparatus that exercises production servers.
  16. Developers writing OLE servers can use TESTCLNT to examine
  17. interactions between OLE clients and servers.  
  18.  
  19. TESTCLNT dumps debugging and status information to a debugging
  20. terminal or auxiliary port.  The program also provides a logging
  21. facility that will dump certain events to a file, TESTCLNT.LOG.
  22. TESTCLNT will also catch many symptoms of server errors. The two most
  23. common responses from TESTCLNT will be assertions and exceptions. 
  24.  
  25.  
  26. Required Equipment for TESTCLNT
  27. ----------------------------------
  28. Three DLLs are required to run the TESTCLNT program: 
  29. SHELL.DLL, OLECLI.DLL, and COMMDLG.DLL.
  30.  
  31. It does not make sense to run TESTCLNT without having an OLE
  32. server installed on your system.  You can build the BIBREF application
  33. (in ..\OSERVER directory) and install that, or try using an
  34. existing OLE server.
  35.  
  36. Running TESTCLNT
  37. -------------------
  38. TESTCLNT behaves much like any normal OLE client.  You can
  39. Insert Objects, Paste Objects, Copy Objects to the clipboard, 
  40. Paste Links, and create objects from files.  Note that creating an
  41. object from a file means that you saved the object using TESTCLNT. 
  42. TESTCLNT uses a private file format to distinguish its own files
  43. from other OLE files.  
  44.  
  45. In addition, TESTCLNT allows activation of the objects from a
  46. server by editing or playing them (from the Object menu).  
  47.  
  48. Finally, TESTCLNT also allows you to call some of the OLE APIs
  49. directly from the menu.  You should be very sure of what you are
  50. doing before calling these APIs directly; calling some of them, out
  51. of order, may hang your machine.
  52.