Which of ieframe.dll or shdocvw.dll should be used as dependency?

2.1k Views Asked by At

If I am using a WebBrowser component I find that sometimes the compiler will create a dependency for ieframe.dll and other times for shdocvw.dll.

Which should be used if targetting XP and Win 7?

1

There are 1 best solutions below

2
On

Since you can never redistribute either DLL it shouldn't matter.

At runtime your compiled program ought to be "finding" the required library via the compiled-in Class IDs. These are the same no matter what version of IE is installed on target machines.

What makes you think otherwise?