Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Windows file associations - shell integration
tiwag:
since the last modifications with file associations (windows only) i got permanent errors when
i doubleclicked a CodeBlocks-project file ( *.cbp) or -workspace file ( *.workspace) in the windows-explorer.
The error message was, that the double-clicked file could not be found - but CodeBlocks was started and opened the correct file - mysterious :shock:
i could resolve this behaviour by deleting all ddeexec registry keys in the
regarding Codeblocks file-association registry keys like
--- Code: ---HKEY_CLASSES_ROOT\CodeBlocks.cbp\shell\open\command\ddexec
HKEY_CLASSES_ROOT\CodeBlocks.workspace\shell\open\command\ddexec
--- End code ---
killerbot:
I have the same error message when double clicking on a cbp file (no tried it on workspaces).
And something else I have, all the time cb asks me to become the default application for c/c++ source files. And each time I click on yes,but it does not seem to remember it, or does omeone steal it behinds it's back all the time ?? Well in the past it worked, so I suspect the cause is in the new CB builds somewhere.
thomas:
I've seen that too, but I don't think it is an actual bug. Everything works fine if the registry contained nothing before, and it never happens again after you delete them, either.
It only seems to happen when you add one registry key to an existing set... no idea what's going on there, but it looks like Windows SNAFU.
There's another funny thing that can happen in that context, too. You can get two instances of Code::Blocks to continuously fight over who is the default application and end up having one file type open in one instance, and another in the other. I haven't figured how, when, and why that happens either. Actually it cannot happen...
takeshimiya:
Supossedly this was fixed (I think) in Rev 1445.
killerbot:
seems not, I used a fresh build from today's head revision.
Navigation
[0] Message Index
[#] Next page
Go to full version