The version of mshtml.dll is 8.0, and Microsoft.mshtml is 7.0

I'm a little confused and maybe you can help me.

I have mshtml.dll (version 8.0) and Microsoft.mshtml.dll (version 7.0)

If I want to add a link to my WPF project and try to add the mshtml.dll file, it will tell me that the link must be a valid component of the assembly or com. And this is the way I know, I need to add a link to Microsoft.mshtml.dll, because this is the shell of mshtml.dll, am I right?

Now my version of mshtml.dll is 8.0, and Microsoft.mshtml is 7.0.

Where can I find the version of Microsoft.mshtml.dll version 8.0?

If I add 7.0 from the Microsoft.mshtml.dll file, it will run the mshtml 8 library functions

Why are they different?

Thanks a lot for everything, Jayson

+5
source share
1 answer

Microsoft.mshtml is wrapped by the dll of the mshtml.dll file, so you see the version difference and this will be stored in (approximate location)

c:\Program Files\Microsoft Visual Studio 9.0\Visual Studio Tools for Office\PIA\Office11\Microsoft.mshtml.dll

for ie-8 to ie-11 I am using Microsoft.mshtml 7.0.XXXX.XX dll without any problems. but ie-11 does not support some dll functions. let me know if you encounter any problem.

Yes, it will perform all your functions without problems, except for some functions

0
source

All Articles