shdoclc.dll missing when trying to customize WebBrowser control context menuI'm not sure when it went M.I.A. but suddenly, now when I'm on Windows Vista 64-bit (Swedish) and Internet Explorer 8 RC, I don't have it in %WINDIR%\System32 at least.<p>This causes a problem in our application that attempt to customize the context menu in a hosted WebBrowser control. It is supposed to load that DLL, and next its IE menu resource, and then get a handle to it and customize it. But now with the DLL entirely missing I'm stopped early in my tracks. :S</p><p>Why could it be that I don't have that DLL? Can I just get it from someone else? Do IE 8 (or already 7?) no longer use it? I'm not quite sure when this happened because our app silently caught the problem, and I haven't tried using the context menu until now. ;)</p><p>TIA<br></p><p>Jonas<br></p>© 2009 Microsoft Corporation. All rights reserved.Mon, 02 Feb 2009 22:18:57 Zd090f74d-2262-4d3b-a10e-ef51a45fe2c3http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/d090f74d-2262-4d3b-a10e-ef51a45fe2c3#d090f74d-2262-4d3b-a10e-ef51a45fe2c3http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/d090f74d-2262-4d3b-a10e-ef51a45fe2c3#d090f74d-2262-4d3b-a10e-ef51a45fe2c3Jonas Nordlundhttp://social.msdn.microsoft.com/Profile/en-US/?user=Jonas%20Nordlundshdoclc.dll missing when trying to customize WebBrowser control context menuI'm not sure when it went M.I.A. but suddenly, now when I'm on Windows Vista 64-bit (Swedish) and Internet Explorer 8 RC, I don't have it in %WINDIR%\System32 at least.<p>This causes a problem in our application that attempt to customize the context menu in a hosted WebBrowser control. It is supposed to load that DLL, and next its IE menu resource, and then get a handle to it and customize it. But now with the DLL entirely missing I'm stopped early in my tracks. :S</p><p>Why could it be that I don't have that DLL? Can I just get it from someone else? Do IE 8 (or already 7?) no longer use it? I'm not quite sure when this happened because our app silently caught the problem, and I haven't tried using the context menu until now. ;)</p><p>TIA<br></p><p>Jonas<br></p>Mon, 02 Feb 2009 16:29:36 Z2009-02-02T16:29:36Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/d090f74d-2262-4d3b-a10e-ef51a45fe2c3#a0fe6b8e-b0a7-4ae7-9d7f-347ec026f623http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/d090f74d-2262-4d3b-a10e-ef51a45fe2c3#a0fe6b8e-b0a7-4ae7-9d7f-347ec026f623nobugzhttp://social.msdn.microsoft.com/Profile/en-US/?user=nobugzshdoclc.dll missing when trying to customize WebBrowser control context menuIs it because you should look in the c:\windows\syswow64 directory instead? <hr class="sig">Hans Passant.Mon, 02 Feb 2009 17:56:59 Z2009-02-02T17:56:59Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/d090f74d-2262-4d3b-a10e-ef51a45fe2c3#8d67acb7-dd4a-4015-a04b-9b02ca3e158ahttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/d090f74d-2262-4d3b-a10e-ef51a45fe2c3#8d67acb7-dd4a-4015-a04b-9b02ca3e158aSheng Jiang 蒋晟http://social.msdn.microsoft.com/Profile/en-US/?user=Sheng%20Jiang%20%u848b%u665fshdoclc.dll missing when trying to customize WebBrowser control context menu<br><div>The DLL disappears after the IE upgrade. Loading resources from Windows Dlls is not supported. Whoever invented the hack in the WebBrowser Customization article needs to update the page to include a warning that the hack may stop working without notice. <br></div><div><br></div><div>From <a href="http://msdn.microsoft.com/en-us/library/aa770042(VS.85).aspx">Part 2 of the WebBrowser Customization article</a>:</div><div><br></div><div>In Internet Explorer 7, the technique for overriding the context menu from a DocObject host is the same as Internet Explorer 6; however, the host must implement its own menu resources. The internal resources of Internet Explorer should not be used as they may change or move (as has been done in Internet Explorer 7). See Appending Extensions to Your Custom Menu below.<br></div><hr class="sig">MSMVP VC++Mon, 02 Feb 2009 18:13:06 Z2009-02-02T18:13:06Zhttp://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/d090f74d-2262-4d3b-a10e-ef51a45fe2c3#376afe97-9c9c-4965-971d-c46dda1bebd7http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/d090f74d-2262-4d3b-a10e-ef51a45fe2c3#376afe97-9c9c-4965-971d-c46dda1bebd7Jonas Nordlundhttp://social.msdn.microsoft.com/Profile/en-US/?user=Jonas%20Nordlundshdoclc.dll missing when trying to customize WebBrowser control context menuAlright, thanks! Yes, the technique always felt quite &quot;hacky&quot; to me, although I believe I learnt it from that article, with the #define for IDR_BROWSE_CONTEXT_MENU and all. ;) Hmm, I'll look around as for how to add our &quot;personal&quot; menu with &quot;View source&quot;, &quot;Print&quot; and &quot;Page properties&quot; commands then. Earlier, we took the IE menu and removed all items we didn't want, essentially just leaving those. Mon, 02 Feb 2009 22:18:47 Z2009-02-02T22:18:47Z