Re: generated stubs fail to compile
Florian Schmitt <[email protected]> Thu, 27 Jul 2006 13:19:13 +0200
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <[email protected]> |
Hi Keith, > I have a similar problem with the stub generator and the PowerPoint OLB > MSPPT.OLB. I have many methods in the _Application class, however there > are many undefined symbols: > > Script > WebPageFonts > CommandBars > Assistant > FileSearch > IFind > VBE > AnswerWizard > COMAddIns > LanguageSettings > MsoDebugOptions > FileDialog > NewFile I suppose that some or all of them are defined in other libraries; for example, Script and Assistant can be found in MSO.dll (MS Office Objekt Library), which may be located under Program Files\Common Files\Microsoft Shared\OfficeXX, where XX has to be replaced by your MS Office version (eg. Office10). Another library which may be of interest are VBE6EXT.OLB under Program Files\Common Files\Microsoft Shared\VBA\VBA6; there's 'VBE' as Dispatch located, for example. A good way to find those files is using the References Dialog provided by the Visual Basic Editor. It shows for every reference to a library the path to the library file. So it's easy to collect all libraries needed as one would do for an VBA project. Florian -- http://www.florian-schmitt.net