0

When .net assemblies are registered for COM Interop, there is a CodeBase key in the registry that points to the executable.

My question is: is the CodeBase key something specific to .NET, or is this a generic COM thing that all registered components are expected to have?

Tim Long
  • 13,508
  • 19
  • 79
  • 147

1 Answers1

5

According to http://msdn.microsoft.com/en-us/library/tzat5yw6%28v=VS.100%29.aspx the CodeBase key is only relevant for .NET assemblies not present in the GAC.

Yahia
  • 69,653
  • 9
  • 115
  • 144
  • That's part of my dilemma, its an ambiguous statement. Regasm is a .net tool, so you'd expect that documentation to be relevant only for .NET assemblies. This doesn't tell me whether CodeBase has any relevance outside of .NET. – Tim Long Nov 20 '11 at 20:29
  • OK this seems to better answer the question: http://msdn.microsoft.com/en-us/library/aa908849.aspx – Tim Long Nov 20 '11 at 20:37