TLBINF32 is a library of functions for reading information about COM Type Libraries.
Questions tagged [tlbinf32]
12 questions
18
votes
3 answers
Self Inspection of VB6 UDTs
I have a feeling the answer to this is going to be "not possible", but I'll give it a shot...
I am in the unenviable position of modifying a legacy VB6 app with some enhancements. Converting to a smarter language isn't an option.
The app relies on…

Dan
- 379
- 3
- 12
4
votes
1 answer
tlbinf32.dll in a 64bits .Net application
It seems there is no 64 bits version of tlbinf32.dll, this (old) COM DLL is used to extract informations of COM components. (see this SO answer )
I need to access it from a 64 bits C# application.
I did not manage to host it into a separate…

Malick
- 6,252
- 2
- 46
- 59
4
votes
5 answers
Iterating through the Object Browser in VBA
I would like to iterate through members of any class in a referenced library much like is done using the Object Browser. How can this be done using VBA?

Curtis Inderwiesche
- 4,940
- 19
- 60
- 82
3
votes
0 answers
Not able to instantiate object from TLBINF32
I have downloaded tlbinf32.dll and added it as a reference to VBA but it doesn't seem to be working, when I try to create the following object
Dim oTLI As Object
Set oTLI = New TLI.TLIApplication
Set oTLI =…

maracuja
- 417
- 8
- 24
3
votes
2 answers
How to extract a GUID from a Win32 DLL or OCX
We have a .NET app that needs to examine a folder that may contain COM libraries (DLL and OCX.) When we do encounter a COM library one thing we need to accomplish is to extract the GUID from the COM DLL or OCX.
Is there a straightforward way to do…

Paul Sasik
- 79,492
- 20
- 149
- 189
3
votes
1 answer
Found and Set Value to a UDT member VB6
I'm looking for some help to solve a problem with dynamic set values of the UDT members. I'm trying do something like the pseudocode ahead:
Public sub UDTMemberSetValue(ByRef pvUDTValue As Variant, _
ByVal psMemberName…

user3663173
- 31
- 1
2
votes
2 answers
Get all classes in the com dll
I have a com dll written in vb6. I need to write c# code that wil get me a list of all the classes within it.
My Objective is to get the classes and generate the classes in .net with all the properties and create a mapping class.
I just need to get…

David
- 5,403
- 15
- 42
- 72
1
vote
3 answers
How do I search an ActiveX/COM object for a method?
I have an ActiveX/COM DLL. It contains many methods and properties. I would like to be able to ask it if it has a particular symbol, as per the following snippet:
If HasMethod( "StdLib.DLL", "ReadFileE" ) Then
...
End If
Is there a way to do…

bugmagnet
- 7,631
- 8
- 69
- 131
1
vote
1 answer
How can I get TypeLibInfo from an ITypeLib pointer?
I would like to use the tlbinf32.dll to read type info for a COM object. At the moment I have access to the pointer to the ITypeLib interface. I can use VTable offsets and DispCallFunc to manually call methods and navgate, however I was hoping to…

Greedo
- 4,967
- 2
- 30
- 78
1
vote
1 answer
Get importlib directives from type library
How can one programmatically determine which type libraries (GUID and version) a given native, VB6-generated DLL/OCX depends on?
For background: The VB6 IDE chokes when opening a project where one of the referenced type libraries can't load one of…

Matt Tsōnto
- 1,518
- 1
- 15
- 30
1
vote
0 answers
VBA: CallByName and InvokeHook
'In VBA one disadvantage of calling a class procedure with CallByName ist that when an custom error was raised in the called object procedure, the caller always gets error 440 regardless of the original error number being raised.
Microsoft gives a…

Theo Köster
- 51
- 1
- 7
0
votes
1 answer
How to import TLB constants to java?
I use groovy's scriptom. Scriptom's sources includes *.java files containing all the constants for Office, EI, etc. What program have been used to export them from tlb/dll/exe files? I need the same for MSProject.

guai
- 780
- 1
- 12
- 29