I am trying to open a .cpp file to edit by executing a 'codeblocks theFile.cpp' command from another program, but I get the following message:
Another program instance is already running.
I only want one copy of codeblocks running, I just want 'theFile.cpp' to come up in the editor under a new tab. Is there some undocumented command line switch that will send a signal to codeblocks dde server to just open the file?
I'm running under windows XP SP2 and I've tried associating .cpp with codeblocks and issuing a 'cmd.exe theFile.cpp' but that just blocks execution in my calling program even though I've issued the command asynchronously.