ado26 tlb as xml file
Tom Johnson
Tom_member at pathlink.com
Sun Feb 26 22:37:52 PST 2006
How much would having TLB files in XML format help with the automated creation
of header modules? I've converted the msado26.tlb file into xml using the
tlb2xml utility found at http://www.cheztabor.com/tlb2xml.
Here is the converted tlb:
http://www.prtsoftware.com/d/msado26_tlb_xml.zip
Truth be told, I'm in a bit over my head right now, but I figured getting the
tlb in xml format might help the automation process along.
Below is a sample that I found for the connection class. Connection is listed
several times so I'm not so sure I've shown THE part that D would use.
Tom
.. lots of xml ...
<TypeInfo index="61">
<Documentation>
<bstrName value="_Connection"/>
<bstrDocString value=""/>
<dwHelpContext value="1231105"/>
<bstrHelpFile value="C:\WINDOWS\HELP\ado260.chm"/>
</Documentation>
<TypeAttr>
<guid value="{00000550-0000-0010-8000-00AA006D2EA4}"/>
<lcid value="0"/>
<memidConstructor value="0xffffffff"/>
<MemidDestructor value="0xffffffff"/>
<cbSizeInstance value="4"/>
<typekind value="4" symbol="TKIND_DISPATCH"/>
<cFuncs value="37"/>
<cVars value="0"/>
<cImplTypes value="1"/>
<cbSizeVft value="28"/>
<cbAlignment value="4"/>
<wTypeFlags value="0x1040">
<flag value="0x0040" symbol="TYPEFLAG_FDUAL"/>
<flag value="0x1000" symbol="TYPEFLAG_FDISPATCHABLE"/>
</wTypeFlags>
<wMajorVerNum value="0"/>
<wMinorVerNum value="0"/>
</TypeAttr>
<Funcs>
<Func index="0">
<Documentation>
<bstrName value="QueryInterface"/>
<bstrDocString value=""/>
<dwHelpContext value="0"/>
<bstrHelpFile value=""/>
</Documentation>
<FuncDesc>
<memid value="0x60000000"/>
<Parameters>
<Parameter index="0">
<Name value="riid"/>
<elemdescParam index="0">
<typedesc>
<vt value="26" symbol="VT_PTR"/>
<lptdesc>
<vt value="29" symbol="VT_USERDEFINED"/>
<hreftype ContainingTypeLib="stdole" Type="GUID"/>
</lptdesc>
</typedesc>
<paramdesc>
<wParamFlags value="0x0001">
<flag value="0x0001" symbol="PARAMFLAG_FIN"/>
</wParamFlags>
</paramdesc>
</elemdescParam>
</Parameter>
<Parameter index="1">
<Name value="ppvObj"/>
<elemdescParam index="1">
<typedesc>
<vt value="26" symbol="VT_PTR"/>
<lptdesc>
<vt value="26" symbol="VT_PTR"/>
<lptdesc>
<vt value="24" symbol="VT_VOID"/>
</lptdesc>
</lptdesc>
</typedesc>
<paramdesc>
<wParamFlags value="0x0002">
<flag value="0x0002" symbol="PARAMFLAG_FOUT"/>
</wParamFlags>
</paramdesc>
</elemdescParam>
</Parameter>
</Parameters>
<funckind value="4" symbol="FUNC_DISPATCH"/>
<invkind value="1" symbol="INVOKE_FUNC"/>
<callconv value="4" symbol="CC_STDCALL"/>
<cParams value="2"/>
<cParamsOpt value="0"/>
<oVft value="0"/>
<cScodes value="0"/>
<elemdescFunc>
<typedesc>
<vt value="24" symbol="VT_VOID"/>
</typedesc>
</elemdescFunc>
<wFuncFlags value="0x0001">
<flag value="0x0001" symbol="FUNCFLAG_FRESTRICTED"/>
</wFuncFlags>
</FuncDesc>
</Func>
.. lots more of xml ...
More information about the Digitalmars-d
mailing list