TESTSERV: Tests OLE Client Applications

TESTSERV is a data-oriented object linking and embedding (OLE) server application that tests OLE client applications. TESTSERV allows you to enter a simple line of text, which can then be embedded or linked by a client. You can also 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).

You must run TESTSERV directly before you use it. When you run the program directly, it registers itself with the registration database.

NOTE: TESTSERV should be used only by experienced OLE developers. Non-experienced developers should see the OSERVER, MINSVR, and MINSVRMI sample programs for information.

TESTSERV's source code illustrates the following concepts:

Providing a more robust environment for OLE servers

Programming in OLE with the Microsoft(R) Foundation Class (MFC) OLE classes

Providing linking services

Providing embedding services

Providing file services for 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."

TESTSERV requires special MFC libraries and include files; see the "MFC Libraries" and "MFC Include Files" abstracts to copy these files to your development system. TESTSERV 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)

OLESVR.DLL and OLESVR.LIB (OLE server 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 testserv project." /C"samples}