I have written a shell extension dll context menu program using C++ and win32 programming. The development environment is Visual Studio 2008 and 2010. In the below sample co
CreatePopUpMenu also works. You just had to use InsertMenu instead of AppendMenu.