home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / activexcontrol / basectl / todosvr / readme.txt < prev    next >
Encoding:
Text File  |  1997-10-04  |  1.9 KB  |  44 lines

  1. Before building the ToDoSvr sample, you must run setenv.bat to make 
  2. sure the Platform SDK include, bin, and lib directories are included
  3. first in your environment.
  4.  
  5. ToDoSvr depends on the FrameWrk sample, which must be built first. To 
  6. build a debug version of the framework library, use the command line
  7.    nmake 
  8. from the FrameWrk directory. To build a retail version of the framework, 
  9. use the command line
  10.    nmake nodebug=1
  11. from the FrameWrk directory. Libraries are placed in the ..\Lib directory.
  12.  
  13. After building the FrameWrk library, you can build the ToDoSvr control 
  14. by moving to the ToDoSvr directory and entering the command
  15.    nmake
  16. to build a debug version, or 
  17.    nmake nodebug=1
  18. to build a retail version.
  19.  
  20. The ToDoSvr sample will be automatically registered as part of the 
  21. build process.
  22.  
  23.  
  24. ToDoSvr is a simple example of a combination OLE Control and Document Object 
  25. server based on the OLE Controls Framework sample code. Generic extensions 
  26. to the framework which would apply to any Document Object server are 
  27. contained in the class CDocumentObject, which is defined in cdocobj.h. Any 
  28. code which is specific to making ToDoSvr act as a Document Object is marked 
  29. with a comment containing the word DOCOBJ. 
  30.  
  31. In its current state, ToDoSvr shows nothing more than the minimal amount of 
  32. code required to act as a Document Object from within Office Binder. It does 
  33. not manage any data and it doesn't display anything.
  34.  
  35. In its completed form, ToDoSvr will be a simple to-do list manager that can 
  36. act as a Document Object within any Document Object container. ToDoSvr will 
  37. expose a simple object model which lets you manage to-do information via OLE 
  38. automation. In addition to providing hyperlinks to documents you are working 
  39. on, ToDoSvr objects will act as hyperlink targets, so that you can easily 
  40. jump to particular tasks.
  41.  
  42.  
  43.  
  44.