Windows context menu for multiple files [C++]

天涯浪子 提交于 2019-12-24 07:33:16

问题


I want to create a context menu that support multiple files.

I read through SO and understand that either you must use DDE or shell extension (something to do with creating and registering COM object). However all the sourcecodes I found are in C#.

I then decided to go with COM object. I found 1 in C++ that uses COM but it's dated 2006, so I just don't know if it's outdated. http://www.codeproject.com/KB/shell/shellextguide1.aspx

Can anyone shed me some light on this? And is there any good and new article out there covering this issue?

Or if anyone has some something similar before using DDE and IPC?


回答1:


It should work fine, the underlying mechanic hasn't changed in the last 4 years.

Take a look at the comments at the bottom of the article, people are using it without problems. (There is also a link to a VS 2008 template for multiple-files)



来源:https://stackoverflow.com/questions/2972800/windows-context-menu-for-multiple-files-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!