Link to home
Start Free TrialLog in
Avatar of PeterA081597
PeterA081597

asked on

Documentation on TypeLib structure?

Can anyone point me to documentation on the data structure of TypeLibs
ASKER CERTIFIED SOLUTION
Avatar of Nexial
Nexial

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mikeblas
mikeblas

I think the questioner is asking about the structure of a binary typelib inside of an executable image, not about the structure of the TYPELIB tag within the markup language used by the component download service. Nexial's answer regurgitates the documentation for the tag.

The TYPELIB information baked into an executable doesn't have a documented format. TYPELIB information is only available from the ITypeInfo interface, which you get when you query the type information from an object or use LoadTypeLib() or LoadTypeLibEx() to get the type library from a file or executable on disk.

ITypeInfo is the only supported mechanism for reading type information.

.B ekiM

Avatar of PeterA081597

ASKER

Thanks Nexial for your fast response, but unfortunately thats not the information I was after.  Mikeblas is exactly correct, thanks.
Thanks Nexial for your fast response, but unfortunately thats not the information I was after.  Mikeblas is exactly correct, thanks.
Mikeblas:
   You may well be correct as to the intention of the question.
Both interpretations appear to be valid and I admit that I did not think of the question in terms of the binary internals.   If your interpretation is correct then PeterA should not accept my answer and reopen the question, with a comment elaborating on precisely what he wants.
Nexial, yes Mikeblas' interpretation was correct, but your interpretation could have been construed from my question, so I've graded accordingly.  I'd like to get some info on LoadTypeLib() and LoadTypeLibEx() but to be fair I'd put that in another question right?? (first time I've used EE). (Sorry about the doubled up comment).
Appreciate, but the points are not necessary, especially since it did not aid in solving your problem.

This may start to answer your other question, and Mikeblas can
fill in further details for you.

http://www.harborlight.com/spec.htm

Discusses general functionality of type libraries and
what functions to use when.   Includes sample code.