'Windows Explorer context menu shellex does not work with Office file extensions

I have created a shellex DLL per the link below to pass multiple file selections to a single program. It works fine on my computer and for several coworkers. All Windows 10 with .NET 4.0 or greater. However, for one coworker the context menu is not displayed for Excel or Word files unless a .txt file is also selected. The shellex is registered for all file extensions '*' in HKCR. From debug output, QueryContextMenu is called, which calls InsertMenuItem five times and then InsertMenu, all with no error. I have insured that my DLL and dynamic verb are first in the alphabet before other shellex DLLs.

Any suggestions would be appreciated.

https://www.codeproject.com/Articles/174369/How-to-Write-Windows-Shell-Extension-with-NET-Lang?fid=1617626&df=90&mpp=25&sort=Position&spc=Relaxed&prof=True&view=Normal&fr=26#xx0xx



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source