home *** CD-ROM | disk | FTP | other *** search
-
- The TypeLib files (*.tlb) in this directory can be used with Visual C++ to
- create subclasses of COleDispatchDriver for automating the FrontPage tools.
-
- Each file corresponds to a single FrontPage tool interface:
-
- Type Library OLE Identifier
- -----------------------------------------------
- todolist.tlb FrontPage.ToDoList.1.1
- webber.tlb FrontPage.Explorer.1.1
- wpe.tlb FrontPage.Editor.1.1
-
- The following instructions are from the Microsoft Developer Studio online help.
-
- To create a dispatch class from a type-library (.TLB) file:
-
- 1 In ClassWizard, click the Add Class button.
- The Add Class button appears on each page of ClassWizard.
- The Add Class menu appears.
- 2 From the Add Class menu, choose From An OLE TypeLib.
- An Open dialog box appears.
- 3 Use the Open dialog box to select the .TLB file.
- 4 Click the OK button.
- The Confirm Classes dialog box appears.
- The list box lists the external names of the classes described in the
- type-library file. Other controls in the Confirm Classes dialog box show
- the proposed names for the dispatch classes and for the header and
- implementation files for those classes. As you select a class in the list
- box, the Class Name box shows the name for the corresponding class.
- You can use the Browse buttons to select other files, if you prefer to
- have the header and implementation information written in existing files
- or in a directory other than the project directory.
- 5 In the Confirm Classes dialog box, edit the names of the new dispatch
- classes and their files.
- 6 Choose OK to close the Confirm Classes dialog box.
- The Type Library Tool writes header and implementation code for your
- dispatch class, using the class names and filenames you have supplied,
- and adds the .CPP file to your project.
-