If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Most likely it is also not working on Windows Vista as the security model is basically the same. Applications are no longer allowed to just write in the registry on all places, let alone in the application dir where it is installed. A good thing in my opinion.
Is this code to associate a file type with your app? Why not let the installer take care of that? Doing it yourself can be an annoying feature to users called "extension hijacking" when I specify an extension to be opened by application A, and application B forces that extension to be associated with it, as end user I would be upset. That is, if I understood your purpose correctly.
Using an installer you can let the user specify wether or not the extension is associated, and you also operate in the "administrator mode" because you are installing. making life easier for you..
Jorg wrote:Is this code to associate a file type with your app? Why not let the installer take care of that? Doing it yourself can be an annoying feature to users called "extension hijacking"
There is still no installer yet.
I know what you mean with "extension hijacking". But the user can decide itself. It doesn't work automatic of course!
Ok, the installer need a piece of code, too. I aks again: How can a associate a file type with an app?