home *** CD-ROM | disk | FTP | other *** search
/ PC Press 1997 July / Sezamfile97_2.iso / windows / program / activex / axtsamp.exe / TSBRANCH.EXE / DLLSKEL / DLLSKEL.TXT < prev    next >
Text File  |  1997-01-05  |  3KB  |  64 lines

  1.  
  2. DLLSKEL - Win32 DLL Skeleton
  3.  
  4.  
  5. SUMMARY
  6. =======
  7.  
  8. The DLLSKEL sample introduces the basic DLL skeleton that can be used as a
  9. point of departure for more complex Win32 DLLs (dynamic link libraries).
  10. It is used as a base for other ActiveX Tutorial code samples. In this
  11. series of ActiveX Tutorial code samples, DLLSKEL works with the DLLUSER
  12. code sample to illustrate how DLLSKEL's function services are called by an
  13. EXE consumer.
  14.  
  15. For functional descriptions and a tutorial code tour of DLLSKEL, see the
  16. Code Tour section in DLLSKEL.HTM. For details on setting up the
  17. programmatic usage of DLLSKEL, see the Usage section in DLLSKEL.HTM. To
  18. read DLLSKEL.HTM, run TUTORIAL.EXE in the main tutorial directory and
  19. click the DLLSKEL lesson in the table of lessons. You can also achieve the
  20. same thing by clicking the DLLSKEL.HTM file after locating the main
  21. tutorial directory in the Windows Explorer. See also DLLUSER.HTM in the
  22. main tutorial directory for more details on the DLLUSER application and
  23. how it works with DLLSKEL.DLL. You must build DLLSKEL.DLL before building
  24. DLLUSER. After producing DLLSKEL.DLL and DLLUSER.EXE, the makefile for
  25. DLLSKEL copies the necessary DLLSKEL.H, DLLSKEL.LIB, and DLLSKEL.DLL files
  26. to the appropriate sibling directories.
  27.  
  28. In general, to set up your system to build and test the code samples in this
  29. ActiveX Tutorial series, see TUTORIAL.HTM for details. The supplied makefile
  30. (MAKEFILE) is Microsoft NMAKE-compatible. To create a debug build, issue the
  31. NMAKE command at the command prompt.
  32.  
  33. Usage
  34. -----
  35.  
  36. DLLSKEL is a DLL that you can access from applications by either
  37. performing an explicit LoadLibrary call or implicitly loading the DLL by
  38. linking to its associated .LIB file. In either case, you need to include
  39. DLLSKEL.H to declare the functions that are defined as exported in the
  40. DLLSKEL DLL. In the case of this Tutorial lesson, a representative
  41. DLLUSER.EXE application is provided to illustrate the programmatic use of
  42. DLLSKEL.DLL. DLLUSER is built in the DLLUSER lesson (in sibling directory
  43. DLLUSER). See below for more details.
  44.  
  45.  
  46. FILES
  47. =====
  48.  
  49. Files        Description
  50.  
  51. DLLSKEL.TXT  This file.
  52. MAKEFILE     The generic makefile for building the DLLSKEL.DLL
  53.              code sample of this tutorial lesson.
  54. DLLSKEL.H    The include file for declaring as imported or defining as
  55.              exported the service functions in DLLSKEL.DLL. Meant for
  56.              eventual use by outside users of the DLL.
  57. DLLSKEL.CPP  The main implementation file for DLLSKEL.DLL. Has DllMain
  58.              and the two exported service functions.
  59. DLLSKELI.H   The include file for the internal class declarations and
  60.              the identifier definitions for resources stored inside the
  61.              DLLSKEL.DLL.
  62. DLLSKEL.RC   The DLL resource definition file.
  63. DLLSKEL.ICO  The icon resource.
  64.