Re: generated stubs fail to compile

Edgar Johnson <[email protected]> Mon, 14 Aug 2006 12:03:35 -0700
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <[email protected]>
If a member has a void type, is it safe to replace the void with Object via the xsl?

  Thanks,
  Ed

Florian Schmitt <[email protected]> wrote:
  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



<!--

---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1ยข/min.