c++ - Difference between idl and odl -
what main difference in idl , odl. have many projects, of them has idl , of them have odl. , should use them. tradeoffs.
odl legacy format. it's been replaced midl (a.k.a: idl). check official microsoft article: midl , odl
the microsoft interface definition language (midl) includes complete object definition language (odl) syntax.
now, if have odl files, can keep is, or migrate them idl. recommended solution can error prone. it's related tool curently use build generated files it, midl.exe or mktypelib.exe. check again official documentation these: differences between midl , mktyplib
in general, want use midl syntax in idl files. however, if need compile existing odl file, or otherwise maintain compatibility mktyplib, use /mktyplib203 midl compiler option force midl behave mkktyplib.exe, version 2.03. (this last release of mktyplib tool.) specifically, /mktyplib203 option resolves these differences:
Comments
Post a Comment