c# - Importing nested COM references -


in visual studio 2015 if create "class library" c# project , add reference custom com dll (created using vb6), vs automatically add (?) com references vb6 dll depends on.

how this? how can statically figure out references are?

note -- our vb6 dll uses "early binding", still there no equivalent of imports table com items see in traditional "c" style dll.

you adding reference type library. embedded inside dll resource. can see when use file > open > file, select dll, open typelib node. plays exact same role metadata in .net assembly, listing type definitions of exposed interfaces , classes. has binary format, can decompile oleview.exe utility.

and has dependency info well, registry helps find such dependent type libraries (hklm\software\wow6432node\classes\typelib key). same role gac plays in .net. com isn't different .net assumes :) first version of clr created com+ group @ microsoft. eliminating registration , dll hell problems associated com on top of todo list.

type libraries not legacy, still play pivotal role in brand-new winrt (aka uwp, aka modern ui). com-based @ core, hidden. olden format retired because of limitations, replaced .winmd format. same .net metadata format. .net decompiler can show content.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

serialization - Convert Any type in scala to Array[Byte] and back -