home *** CD-ROM | disk | FTP | other *** search
/ The Net: Ultimate Internet Guide / WWLCD1.ISO / pc / frntpage.sdk / wizards / vc / _readme.txt next >
Encoding:
Text File  |  1996-05-31  |  1.8 KB  |  39 lines

  1.  
  2. The TypeLib files (*.tlb) in this directory can be used with Visual C++ to 
  3. create subclasses of COleDispatchDriver for automating the FrontPage tools.
  4.  
  5. Each file corresponds to a single FrontPage tool interface:
  6.  
  7.     Type Library        OLE Identifier
  8.     -----------------------------------------------
  9.     todolist.tlb        FrontPage.ToDoList.1.1
  10.     webber.tlb        FrontPage.Explorer.1.1
  11.     wpe.tlb            FrontPage.Editor.1.1
  12.     
  13. The following instructions are from the Microsoft Developer Studio online help.
  14.  
  15. To create a dispatch class from a type-library (.TLB) file:
  16.  
  17.  1    In ClassWizard, click the Add Class button. 
  18.     The Add Class button appears on each page of ClassWizard.
  19.     The Add Class menu appears.
  20.  2    From the Add Class menu, choose From An OLE TypeLib.
  21.     An Open dialog box appears.
  22.  3    Use the Open dialog box to select the .TLB file.   
  23.  4    Click the OK button.
  24.     The Confirm Classes dialog box appears. 
  25.     The list box lists the external names of the classes described in the 
  26.     type-library file. Other controls in the Confirm Classes dialog box show 
  27.     the proposed names for the dispatch classes and for the header and 
  28.     implementation files for those classes. As you select a class in the list 
  29.     box, the Class Name box shows the name for the corresponding class.
  30.     You can use the Browse buttons to select other files, if you prefer to 
  31.     have the header and implementation information written in existing files 
  32.     or in a directory other than the project directory.
  33.  5    In the Confirm Classes dialog box, edit the names of the new dispatch 
  34.     classes and their files.
  35.  6    Choose OK to close the Confirm Classes dialog box.
  36.     The Type Library Tool writes header and implementation code for your 
  37.     dispatch class, using the class names and filenames you have supplied, 
  38.     and adds the .CPP file to your project.
  39.