AA2e72E said:
Thanks for the hints but the suggestions ignore my request "... but
without the IDE. "
I can retrieve the information I am after as text, which I dump into Word
&
create an index for about 25 or so VB6.0 DLLs. The text is like this:
(for a property)
Property|FileName
Ref|Value@string = obj.Filename
Set obj.FileName = Value@String
(for a method)
Method|Validate
Value@Boolean = Validate(FileName as String)
etc
My code does not pick up the public (global) variables or public enums:
hence the original post.
Please, be a bit more explicit when posting such questions, you never said
you had some working code.
That said, I suppose you are using LoadTypeLib to load a typelib and use the
System.Runtime.InteropServices.ComTypes namespace classes to inspect the
typelib info, right?
When you look at the typelib using oleview, you will see that the global
data declaration (like SomeVal as Integer) are simply exported as property
setter/getter members of the interface, so when you get the typeinfo from
the interface you should be able to get at the properties (your global
variables).
The same is valid for the enum types. If this is not the case, first inspect
the your typelib using oleview, and post your failing code to get some more
help from the crowd.
Willy.
Willy.