This is the content of my "HKEY_CURRENT_USER\Software\Classes\CodeBlocks.cbp" entry:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp]
@="project file"
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp\DefaultIcon]
@="C:\\Codeblocks\\src\\output31\\codeblocks.exe,1"
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp\shell]
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp\shell\Build]
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp\shell\Build\command]
@="\"C:\\Codeblocks\\src\\output31\\codeblocks.exe\" -na -nd -ns --batch-build-notify --build \"%1\""
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp\shell\open]
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp\shell\open\command]
@="\"C:\\Codeblocks\\src\\output31\\codeblocks.exe\" \"%1\""
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp\shell\open\ddeexec]
@="[Open(\"%1\")]"
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp\shell\open\ddeexec\application]
@="CODEBLOCKS"
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp\shell\open\ddeexec\ifexec]
@="[IfExec_Open(\"%1\")]"
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp\shell\open\ddeexec\topic]
@="CodeBlocksDDEServer"
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp\shell\Rebuild (clean)]
[HKEY_CURRENT_USER\SOFTWARE\Classes\CodeBlocks.cbp\shell\Rebuild (clean)\command]
@="\"C:\\Codeblocks\\src\\output31\\codeblocks.exe\" -na -nd -ns --batch-build-notify --rebuild \"%1\""
If you remove the ddeexec folder all work as intended. IMHO this entry is redundant with the code, and in some tests it makes C::B freeze.
win7 ultimate x64
is the system I am using right now. The double click is handled by the CodeBlocks.cbp/shell/open/command folder. You must have something like this (the path to the executable will be different)
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\CodeBlocks.cbp]
@="project file"
[HKEY_CURRENT_USER\Software\Classes\CodeBlocks.cbp\DefaultIcon]
@="C:\\Codeblocks314\\src\\output31\\codeblocks.exe,1"
[HKEY_CURRENT_USER\Software\Classes\CodeBlocks.cbp\shell]
[HKEY_CURRENT_USER\Software\Classes\CodeBlocks.cbp\shell\Build]
[HKEY_CURRENT_USER\Software\Classes\CodeBlocks.cbp\shell\Build\command]
@="\"C:\\Codeblocks314\\src\\output31\\codeblocks.exe\" -na -nd -ns --batch-build-notify --build \"%1\""
[HKEY_CURRENT_USER\Software\Classes\CodeBlocks.cbp\shell\open]
[HKEY_CURRENT_USER\Software\Classes\CodeBlocks.cbp\shell\open\command]
@="\"C:\\Codeblocks314\\src\\output31\\codeblocks.exe\" \"%1\""
[HKEY_CURRENT_USER\Software\Classes\CodeBlocks.cbp\shell\Rebuild (clean)]
[HKEY_CURRENT_USER\Software\Classes\CodeBlocks.cbp\shell\Rebuild (clean)\command]
@="\"C:\\Codeblocks314\\src\\output31\\codeblocks.exe\" -na -nd -ns --batch-build-notify --rebuild \"%1\""