home *** CD-ROM | disk | FTP | other *** search
/ Using Visual C++ 4 (Special Edition) / Using_Visual_C_4_Special_Edition_QUE_1996.iso / ch08 / oserver / readme.txt < prev    next >
Encoding:
Text File  |  1995-09-22  |  4.4 KB  |  110 lines

  1. ========================================================================
  2.        MICROSOFT FOUNDATION CLASS LIBRARY : OServer
  3. ========================================================================
  4.  
  5.  
  6. AppWizard has created this OServer application for you.  This application
  7. not only demonstrates the basics of using the Microsoft Foundation classes
  8. but is also a starting point for writing your application.
  9.  
  10. This file contains a summary of what you will find in each of the files that
  11. make up your OServer application.
  12.  
  13. OServer.h
  14.     This is the main header file for the application.  It includes other
  15.     project specific headers (including Resource.h) and declares the
  16.     COServerApp application class.
  17.  
  18. OServer.cpp
  19.     This is the main application source file that contains the application
  20.     class COServerApp.
  21.  
  22. OServer.rc
  23.     This is a listing of all of the Microsoft Windows resources that the
  24.     program uses.  It includes the icons, bitmaps, and cursors that are stored
  25.     in the RES subdirectory.  This file can be directly edited in Microsoft
  26.     Developer Studio.
  27.  
  28. res\OServer.ico
  29.     This is an icon file, which is used as the application's icon.  This
  30.     icon is included by the main resource file OServer.rc.
  31.  
  32. res\OServer.rc2
  33.     This file contains resources that are not edited by Microsoft 
  34.     Developer Studio.  You should place all resources not
  35.     editable by the resource editor in this file.
  36.  
  37. OServer.reg
  38.     This is an example .REG file that shows you the kind of registration
  39.     settings the framework will set for you.  You can use this as a .REG
  40.     file to go along with your application or just delete it and rely
  41.     on the default RegisterShellFileTypes registration.
  42.  
  43. OServer.clw
  44.     This file contains information used by ClassWizard to edit existing
  45.     classes or add new classes.  ClassWizard also uses this file to store
  46.     information needed to create and edit message maps and dialog data
  47.     maps and to create prototype member functions.
  48.  
  49. /////////////////////////////////////////////////////////////////////////////
  50.  
  51. For the main frame window:
  52.  
  53. MainFrm.h, MainFrm.cpp
  54.     These files contain the frame class CMainFrame, which is derived from
  55.     CFrameWnd and controls all SDI frame features.
  56.  
  57.  
  58. /////////////////////////////////////////////////////////////////////////////
  59.  
  60. AppWizard creates one document type and one view:
  61.  
  62. OServerDoc.h, OServerDoc.cpp - the document
  63.     These files contain your COServerDoc class.  Edit these files to
  64.     add your special document data and to implement file saving and loading
  65.     (via COServerDoc::Serialize).
  66.  
  67. OServerView.h, OServerView.cpp - the view of the document
  68.     These files contain your COServerView class.
  69.     COServerView objects are used to view COServerDoc objects.
  70.  
  71.  
  72. /////////////////////////////////////////////////////////////////////////////
  73.  
  74. AppWizard has also created classes specific to OLE
  75.  
  76. SrvrItem.h, SrvrItem.cpp - this class is used to
  77.     connect your COServerDoc class to the OLE system, and optionally
  78.     provide links to your document.
  79. IpFrame.h, IpFrame.cpp - this class is derived
  80.     from COleIPFrameWnd and controls all frame features during
  81.     in-place activation.
  82.  
  83. /////////////////////////////////////////////////////////////////////////////
  84. Other standard files:
  85.  
  86. StdAfx.h, StdAfx.cpp
  87.     These files are used to build a precompiled header (PCH) file
  88.     named OServer.pch and a precompiled types file named StdAfx.obj.
  89.  
  90. Resource.h
  91.     This is the standard header file, which defines new resource IDs.
  92.     Microsoft Developer Studio reads and updates this file.
  93.  
  94. /////////////////////////////////////////////////////////////////////////////
  95. Other notes:
  96.  
  97. AppWizard uses "TODO:" to indicate parts of the source code you
  98. should add to or customize.
  99.  
  100. If your application uses MFC in a shared DLL, and your application is 
  101. in a language other than the operating system's current language, you
  102. will need to copy the corresponding localized resources MFC40XXX.DLL
  103. from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
  104. and rename it to be MFCLOC.DLL.  ("XXX" stands for the language abbreviation.
  105. For example, MFC40DEU.DLL contains resources translated to German.)  If you
  106. don't do this, some of the UI elements of your application will remain in the
  107. language of the operating system.
  108.  
  109. /////////////////////////////////////////////////////////////////////////////
  110.