11

I think should be a synonym for (or vice versa, but mshtml is more common).

6
  • 2
    Questions tagged with microsoft.mshtml should be tagged with mshtml if not already. microsoft.mshtml is a monstrosity IMO.
    – Old Checkmark
    Aug 2, 2013 at 15:19
  • Hence the synonym, @Old. Perhaps a merge would be in order as well. Aug 2, 2013 at 15:21
  • This question seems to indicate that there is some difference, however slight. I wasn't able to figure out a distinction in my brief searching, so is the OP of the linked question wrong? Aug 2, 2013 at 15:24
  • 3
    Microsoft.Mshtml is going to be the .NET version of the library, placed into a "Microsoft" namespace and the DLL named to mirror this, according to convention. MSHTML is the name of the library itself, and was the original name of the native (unmanaged) DLL. @george Aug 2, 2013 at 15:28
  • Even with this distinction, wouldn't it make sense to merge the stack exchange tags? After all, users can still express which version they use both in the text and by specifying additional language-specific tags. Right?
    – MvG
    Aug 2, 2013 at 15:32
  • 2
    Yes, agreed. If there's a .NET-related tag, they're obviously using the .NET-specific version. I'm not sure whether there is really a big difference in the two APIs, but I highly doubt it. Furthermore, anyone who is an expert (or interested) in MsHTML is going to be able to answer questions about both. Aug 2, 2013 at 15:34

1 Answer 1

7

MSHTML is the type library name and is used in any language that supports Automation interop.

Microsoft.mshtml is a PIA name. A file that's located elsewhere and is only ever used by .NET programmers. The declarations look very different. But otherwise represents the same object model.

Convincing a C++ or Delphi programmer that Microsoft.mshtml has anything to do with his problem is going to be an uphill battle. And it is pretty unlikely that any of the answers with this tag are helpful to them, COM programming in C++ is pretty fundamentally different. It is therefore better to not make them synonyms.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .