Documentation on TypeLib structure?

Can anyone point me to documentation on the data structure of TypeLibs
PeterA081597Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

NexialCommented:
From:
http://www.microsoft.com:80/msdn/sdk/inetsdk/help/itt/msicd/reference/TYPELIB.htm


     TYPELIB

     <TYPELIB
     CLASSID="{id}"
     />

     Specifies the type library file (*.tlb) for a particular JavaBean.

     CLASSID="{id}"
          Required. Unique identifier for the type library file associated with a particular
          JavaBean. For Microsoft® Internet Explorer, this file must be specified in GUID
          format {hhhhhhhh-hhhh-hhhh-hhhh-hhhhhhhhhhhh}, where "h" is a hexadecimal
          digit.

     Number of allowed occurrences: None or one
      Parent elements
                    Child elements
      CLASS
                    None


     Example

     <TYPELIB CLASSID="{01234567-89AB-CDEF-0123-456789ABCDEF}" />

     Applies To

     OSD om:
http://www.microsoft.com:80/msdn/sdk/inetsdk/help/itt/msicd/reference/TYPELIB.htm


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mikeblasCommented:
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

0
PeterA081597Author Commented:
Thanks Nexial for your fast response, but unfortunately thats not the information I was after.  Mikeblas is exactly correct, thanks.
0
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

PeterA081597Author Commented:
Thanks Nexial for your fast response, but unfortunately thats not the information I was after.  Mikeblas is exactly correct, thanks.
0
NexialCommented:
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.
0
PeterA081597Author Commented:
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).
0
NexialCommented:
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.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.