User forums > Using Code::Blocks

is it possible to use many CB instances ?

<< < (4/6) > >>

BlueHazzard:
Yep, this is a problem with the DDE server in codeblocks.
I never hit this error, because i do not install codeblocks, or let it associate the file extensions and so i have not this registy entries
The easiest solution is to remove the ddeexec  from the registry...

Hopefully i find some time to look into it...

Miguel Gimenez:
I have just posted a patch in ticket 1082, https://sourceforge.net/p/codeblocks/tickets/1082/. This patch does not create ddeexec entries (and remove them if they exist) when setting file associations.

Elena:
@Miguel
If I delete the ddexec folder I simply have CB not loading a project the next time I double click on a .cbp, but it opens a requester saying:
Code::Blocks is not the default application for C/C++ source files.......
Why it does not work for me ?? As I said this at least happens on win7 ultimate x64, I can't test on another win right now

Miguel Gimenez:

--- Quote ---win7 ultimate x64
--- End quote ---
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)


--- Code: ---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\""

--- End code ---

Elena:
Looks pretty identical to mine.. except that I cannot delete ddexec otherwise cb opens the requester I described in my previous message,  and I have to confirm the associations otherwise I would lose them, and it rebuilds the ddexec

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version