C++: How do I correctly register and unregister file type associations for our application (programatically)

浪尽此生 提交于 2019-12-01 08:35:20

Alas, this documentation still seems current, and it's all about the registry: MSDN

Maybe someone's created a nice wrapper for this? Time to hit Google...

Mark Ransom

I believe Microsoft wants you to do this through an installation package rather than on-the-fly, since you need elevated permissions to do so.

Edit: See this previous StackOverflow question for how this might be possible.

How to change file association without UAC confirmation?

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