comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Dump info on COM objects from with the DE
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Dump info on COM objects from with the DE [message #49833] Wed, 16 August 2006 17:38
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Thanks Abraham and Paul.

These tools go a long way in making the IDLcomIDispatch object more
usable. I think there are still some rough edges but hopefully we can
iron them out!

-Rick

abraham@ittvis.com wrote:
> I just added a library called DispatchDump to the ITTVIS code contrib
> site. DispatchDump offers three routines for displaying information
> about COM objects and COM errors.
>
> Routines/Usage:
>
> disptype, obj
> dispdump, obj
> GetLastCOMError
>
> disptype displays the type of the COM object.
> dispdump displays the type of the COM object and all of its
> methods/properties available through its IDispatch interface. It also
> displays parameter attributes including their default values, if
> applicable.
> GetLastCOMError displays the last COM error, if available.
>
>
> Here is a sample output:
>
> IDL> dispdump, wkbk
> ObjType: Workbooks
> getprop: Workbook* = _Default()
> getprop: Object* = _NewEnum()
> func: Workbook* = Add([in, optional] VARIANT Template)
> getprop: Application* = Application()
> func: Boolean = CanCheckOut([in] String Filename)
> method: CheckOut([in] String Filename)
> method: Close()
> getprop: Long = Count()
> getprop: XlCreator = Creator()
> getprop: Workbook* = Item()
> func: Workbook* = Open([in] String Filename, [in, optional] VARIANT
> UpdateLinks,
> func: Workbook* = OpenDatabase([in] String Filename, [in, optional]
> VARIANT CommandText,
> method: OpenText([in] String Filename, [in, optional] VARIANT Origin,
> [in, optional] VARIANT StartRow, [in, optional] VARIANT DataType, [in,
> optional, defaultvalue(1)] XlTextQualifier TextQualifier,
> func: Workbook* = OpenXML([in] String Filename, [in, optional]
> VARIANT Stylesheets, [in, optional] VARIANT LoadOption)
> getprop: Object* = Parent()
>
>
> Here's a quick link to the library:
> http://www.ittvis.com/codebank/search.asp?FID=446
>
>
> Cheers,
> Abraham
>
[Message index]
 
Read Message
Previous Topic: Dump info on COM objects from with the DE
Next Topic: IDL env. variables

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 18 17:16:42 PDT 2025

Total time taken to generate the page: 0.02182 seconds