home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / labrador / labrador.txt < prev    next >
Text File  |  1998-04-02  |  904b  |  21 lines

  1.  
  2. LABRADOR
  3.  
  4. This sample shows how to use ATL to implement an EXE server without any user interface. The server 
  5. allows creation of an object that supports two custom interfaces, as defined in LABRADOR.IDL.
  6.  
  7. HOW TO RUN IT:
  8.  
  9. You need to build and properly set up 3 components:
  10. * Server: 
  11.   Build LABRADOR.EXE using the LABRADOR.MAK project file.
  12.   Run the server once with the /RegServer command line option to set up the registry 
  13.   (for convenience, a custom build rule does it for you). 
  14. * Marshalling DLL:
  15.   Build the proxy/stub marshalling DLL by running "nmake -f labps.mak" to get LABPS.DLL.
  16.   Register it by running "regsvr32 labps.dll"
  17. * Driver:
  18.   Go to the LABDRIV subdirectory, build LABDRIV.EXE using the LABDRIV.MAK project file.
  19.   Run the driver from the debugger or from the command line. The driver will create an
  20.   object, make a few calls into it, and then release it.
  21.