There is a solution to prevent multiple instances from editor running?

Perhaps you could explain how you are consistently creating multiple instances of the PE. What operating system are you using?

I don't seem to have that problem and, judging by the lack of responses, perhaps other forum members don't either.
 
Hi,

Is the OP complaining about the response when double-clicking a .BAS file, which seems to be inconsistent and unexplained (and occurs for me even with windows 10) ? A search of the forum for "even if the PE is already open" produces the usual unhelpful "The following words were not included in your search because they are too short, too long, or too common: even, if, the, PE, is, already" (leaving only "open") but eventually found a link to post #12 in this thread .

Cheers, Alan.
 
When this was posted I was surprised, so I checked.
Win 10 & PE 6.2.1.0

Start Menu -> Revolution Education -> Picaxe Editor 6 starts the 1st instance of PE
Start Menu -> Revolution Education -> Picaxe Editor 6 a 2nd time starts a 2nd instance of PE

There is a solution to prevent multiple instances from editor running?

I have PE pinned to my taskbar and:
- I always start PE by left clicking this taskbar icon.
- left clicking this taskbar icon when one instance of PE is running switches back to that instance. It does not start another instance.

but if you right click the PE taskbar icon and left click the Picaxe Editor 6 entry in the right click menu you do start another instance of PE.

Here are 3 instance running:
3 instances of PE.PNG

However, PE is not documented as supporting running multiple instances and when I tried to simulate a program in one instance of PE when there were 2 instances open PE hung, so I won't be running more than one instance.
 
This is how I solved it: I created a file batch called "RunPicaxe.bat", then converted it to "RunPicaxe.exe"
using the "Bat_To_Exe_Converter_4.2" programme, and associated the .bas extension with RunPicaxe.exe.
 

Attachments

@Technical Since there appears to be a problem where the multiple instances of the PE can't share some resources (EG a single AXE027 programming lead), could the PE's startup code check for a pre-existing instance? I know that it can be done with Visual Studio - I included the feature in an application I created and supported back in my working days.
 
Back
Top