ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Circle Dock

Circle Dock Multiple instances startup...

<< < (3/3)

Archon of Fate:
Batching the file worked perfectly  :Thmbsup:

here is the code I used

start C:\"Circle Dock4"\"CircleDock.exe"
timeout 7
start C:\"Circle Dock3"\"CircleDock.exe"
timeout 7
start C:\"Circle Dock2"\"CircleDock.exe"
timeout 7
start C:\"Circle Dock1"\"CircleDock.exe"

exit


I had to use a timer because if the docks were all started at the same time I'd get an error...

Also found out that you have to start your last instance first, if you do it from fist instance to last you'll get an error...

thanks!  :up:

sgtevmckay:
were you able to run them all from the same .bat ???

Markham:
Regardless of the order in which you start them, the instances will be numbered (identified) in the order in which they are started. If you load the main settings dialog for the instance loaded from "C:\Circle Dock1", the dialog's caption should include the phrase "Instance 4 of 4".

And yes, you will need to include a delay between loading each instance to allow for each instance to load, initialise itself and begin processing (Windows) messages.



Mark

Archon of Fate:
Yeah I was able to run all from the same bat, through trial and error I got it to work  :)
I didnt know that about the instances though i thought there was a cirtain order to load them, thanks for telling me  :)

Markham:
And to think I go to a lot of trouble explaining this in the help system....

Navigation

[0] Message Index

[*] Previous page

Go to full version