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 / chap19 / cocosmo / readme.txt
Text File  |  1995-05-03  |  599b  |  12 lines

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