Page 1 of 1
ActiveX object inspector
Posted: Sun Apr 21, 2013 2:05 am
by unixkd
Hi all
I need Activex object inspector, like DC_Arrayview(), that I can use to analyze properties and methods exposed by the object. For Example I want to inspect the object created like:
oFileSys := CreateObject("Scripting.FileSystemObject")
Thanks.
Joe
Re: ActiveX object inspector
Posted: Mon Apr 22, 2013 6:55 am
by Wolfgang Ciriack
The only thing i know is the HelpKit Com Assistent, which make a help file for a Com Component.
http://www.devcomponents.com/
Re: ActiveX object inspector
Posted: Tue Apr 23, 2013 6:26 am
by rdonnay
I had this same problem when I was working with CodeJock classes while developing the XCodeJock interface.
DC_ArrayView() and DC_InspectObject() will display the properties and methods of an Automation Object if there is a .DEF file available. The function DC_DefDir() is used to assign the directory that contains your .DEF files.
A .DEF file is a text file that names the properties and methods of an Active X class.
Look at some of the .DEF files in \exp19\XCodeJock\ClassDef.
I had to create these files myself. I wrote a program that converted the Wrapper .PRG files created by JazzAge's Active X wizard. If you can find a .COM inspector that can write everything to a file, then I can help you by writing a conversion utility that makes a .DEF file.