I have a COM file in a project that when I run on Windows XP without IE 7 installed, installs correctly. When I run this on Windows XP with IE 7.0 installed then the ocx file will not register properly due to a missing dependency - dwmapi.dll.
Looking at the file in dependency walker shows that this function is called from IEFRAME.DLL. The error message states that At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Q: does this message mean that IEFRAME.DLL is calling the function implicitly on XP when it should not
As I look up through the tree of depdency I see that the ultimate cause of the problem is our call to a function in mfc42 which then cascades down into IEFRAME.DLL.
MFC42 > SHELL32 > SHDOCVW > MSHTML > IEFRAME > DWMAPI
So, is there a way other than uninstalling IE7 for our customers to resolve this dependency Is there something we can do from within our development environment to prevent this explicit link
So far I have not come up with much, so any help is appreciated.