home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / inole2 / chap21 / cocosmo / readme.txt
Encoding:
Text File  |  1995-05-03  |  636 b   |  13 lines

  1. To build a version of Component Cosmo that uses POLY21.DLL, copy
  2. the sources from CHAP13\COCOSMO and modify the function
  3. CCosmoDoc::FInit in DOCUMENT.CPP to use CLSID_Polyline19
  4. (it doesn't change from Chapter 21) instead of CLSID_Polyline10 in
  5. the CoCreateInstance call:
  6.  
  7. Nothing else in CoCosmo needs to change to use the revised Polyline.
  8. Note that CoCosmo still uses the IPolyline10 interface on the Polyline
  9. object.  For all intents and purposes, nothing should change at all
  10. in the execution of CoCosmo, demonstrating how interfaces do not
  11. interfere with each other:  CoCosmo ignores the compound document
  12. interfaces.
  13.