User forums > Using Code::Blocks
is it possible to use many CB instances ?
Elena:
However if I launch it from a shell with a project name it opens a new instance effectively... but never if I double click on a .cbp!
Miguel Gimenez:
You can try clicking right button on a .CBP and associate it with CodeBlocks.exe, other than that I can't help.
Here you have how ddeexec works: https://docs.microsoft.com/en-us/windows/win32/shell/how-to-associate-verbs-with-dde-commands
Elena:
That requester is for nothing btw... even if you select to leave things as they are you have not lost the files association. It is clearly a bug there..you delete the ddexec and it goes nuts..the same requester opens at startup even if I change the the open/command key!! It is harmless but should not definitely open. Anyway I even tried to change the open/command key to [cb path] --multiple-instance "%1" but to no avail, it keeps opening .cbp projects in an alrrady running instance. And there things are buggy aswell, since in the title bar it remains the previous project name even if I click on the second project, and when you select Build you don't even know WHICH project it is building... with two projects opened in a single instance also I got a crash yesterday! If I wete the coder I'd have fixed everything already sigh2
Elena:
In the end I managed to do it! Phew... I had to repeat the operation of deleting the ddexec few times, ignore the requester, reboot, and now apparently it opens all my .cbp files in separate instances 😃 It simply did not work at the first attempts....
BlueHazzard:
You can disable the file association check in the options: Settings->Environment->Check&Set file associations (Windows only)
Anyway this is a bug and we will try to fix it
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version