TESTCLNT: Tests OLE Server Applications

TESTCLNT is a program for testing object linking and embedding (OLE) servers. TESTCLNT acts as a simple OLE client and provides a full feature list that most servers will wish to support. It also provides a robust error-checking environment to help track down bugs. TESTCLNT allows you to call some of the OLE functions directly from the menu (do this only if you have a good understanding of OLE, because you can hang your machine).

NOTE: TESTCLNT should be used only by experienced OLE developers. Non-experienced developers should see the OCLIENT sample program for information.

The TESTCLNT source code illustrates the following concepts:

Implementing a robust OLE environment

Programming using the Microsoft(R) Foundation Class (MFC) OLE classes

Testing OLE servers

For more information on these concepts, see the technical articles "MFC TN008--General OLE Overview," "MFC TN009--Writing an OLE Client Application," and "MFC TN010--Writing an OLE Server Application."

TESTCLNT requires special MFC libraries and include files; see the "MFC Libraries" and "MFC Include Files" abstracts to copy these files to your development system. TESTCLNT uses the following libraries:

MLIBCEW.LIB (C Windows run-time library)

LIBW.LIB (Windows library)

Either MAFXCW.LIB (MFC medium-model Windows retail library) or MAFXCWD.LIB (MFC medium-model Windows debug library)

COMMDLG.DLL and COMMDLG.LIB (standard Windows dialog libraries)

SHELL.DLL and SHELL.LIB (OLE registration libraries)

OLECLI.DLL and OLECLI.LIB (OLE client libraries)

To build this application, you must have Microsoft C/C++ version 7.0 installed on your system.

{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the testclnt project." /C"samples}