Improve faulty context menu extension handling

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
deafff
Junior Member
Junior Member
Posts: 2
Joined: 2014-11-03, 14:03 UTC

Improve faulty context menu extension handling

Post by *deafff »

Hello,
I have a problem with context menus failing to show up after installing faulty context menu extension.
Now, I know this is not a problem of Total Commander per se, and can be solved by hunting for the extension with ShellExView, but this problem comes up a lot, and some users probably do not posses the skill/time/will to do it anyway.
Maybe it wouldn't be a bad idea to make TC's handle these kinds of errors gracefully. I'm sure it can be done, as Explorer and DOpus have no problem with it, and it's probably couple of ifs at most.

In my case, the problem appeared with Miranda-NG's 0.95.3 build 11706 (latest as of today) Shell extension plugin, "Plugins\ShlExt.dll" on Windows 7 64bit.
Hope it will help you sort these problems out for good.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50549
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The problem is that TC cannot even control this - TC just calls IShellFolder->QueryContextMenu, and receives the completed menu (or a crash). I have a try..except block around this call to catch exceptions, but some plugins create separate threads - when they crash, there is nothing I can do. :(
Author of Total Commander
https://www.ghisler.com
Post Reply