Hello Earnie,

genidl is a way to make .tlb and .typeinfo resources V2 human
readable.  It is somewhat the same as old NT typelib-viewer (if some
people remember about it).
Sadly documentation about V1 typelib files is less good, so I mainly
focused in that tool on Version 2 typelib format.  Nevertheless if
somebody wants to improve this tool, patches are welcome.

The syntax of the output is mostly the IDL-semantic described on msdn.
 It has some extensions, which aren't part of the msdn-language
description, but seems to be worth to be dumped in output.  So the
output .idl file need manual work before you can compile it by midl
and/or widl (the IDL-compilers).

For a proper use, you should always translate first the dependent
typelib-files (#imports), so that result looks fine.  The first file
you should translate by it (genidl keeps track about translated
interfaces to improve later on dependent translations) is the
stdole2.tlb file [*1].
Also the other .tlb files in Windows/System32 folder.  Please be aware
that 32-bit and 64-bit have different .tlb files!

Hope this helps a bit about this tool,
Kai

[1]: The stdole32.tlb is the base file for Typelib Version 1, but as
mentioned above I couldn't puzzle out the format in detail.  Also has
Version 1 less and less use-cases, so I thought it isn't essential for
now.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to