Solved

Documentation on TypeLib structure?

Posted on 1998-03-06
7
484 Views
Last Modified: 2013-12-03
Can anyone point me to documentation on the data structure of TypeLibs
0
Comment
Question by:PeterA081597
  • 3
  • 3
7 Comments
 
LVL 1

Accepted Solution

by:
Nexial earned 50 total points
ID: 1411789
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
 
LVL 11

Expert Comment

by:mikeblas
ID: 1411790
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
 

Author Comment

by:PeterA081597
ID: 1411791
Thanks Nexial for your fast response, but unfortunately thats not the information I was after.  Mikeblas is exactly correct, thanks.
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

Author Comment

by:PeterA081597
ID: 1411792
Thanks Nexial for your fast response, but unfortunately thats not the information I was after.  Mikeblas is exactly correct, thanks.
0
 
LVL 1

Expert Comment

by:Nexial
ID: 1411793
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
 

Author Comment

by:PeterA081597
ID: 1411794
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
 
LVL 1

Expert Comment

by:Nexial
ID: 1411795
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

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question