Go Back   TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Help
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Running multiple instances of an application

Vista Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 13-02-2008
DocAtom
 
Posts: n/a
Running multiple instances of an application

I trade stocks with multiple brokers and therefore use multiple trading
applications. Two of my brokers use the same trading software, InstaQuote.
So it is necessary for me to run two instances of IQuote32.exe.

This used to work on my old XP machine. On my new Vista 64 machine I can
launch either version (they are branded so there is an obvious difference),
but when I attempt to launch the second instance it just activates the first
one.

Is there a setting that I need to change? Surely this is not something that
is no longer allowed! If I can't fix this quickly I will have to go back to
XP.

TIA,
John

Reply With Quote
  #2  
Old 13-02-2008
Mark L. Ferguson
 
Posts: n/a
Re: Running multiple instances of an application

Try running the second instance with admin credentials.
Rightclick the Command prompt, click 'run as administrator', at the prompt
type:

start <path to app>
Reply With Quote
  #3  
Old 13-02-2008
Rich
 
Posts: n/a
Re: Running multiple instances of an application

Try finding out from either vender if it has command line swithes and add
what is needed to have two instances. It could be as simple as /m at the end
of the shortcut run line. I know because this happened to me and the
solution was so simple in the end.

Good luck, Rich
Reply With Quote
  #4  
Old 13-02-2008
DocAtom
 
Posts: n/a
Re: Running multiple instances of an application

Well, it sounded BRILLIANT, but alas, it did not work. Thanks just the same.
Reply With Quote
  #5  
Old 13-02-2008
DocAtom
 
Posts: n/a
Re: Running multiple instances of an application

Good idea, I'm looking into it.
Reply With Quote
  #6  
Old 13-02-2008
DarkSentinel
 
Posts: n/a
Re: Running multiple instances of an application

If that doesn't work, try going into the folder for each and creating a
shortcut on the desktop for each executable. I am running 3 instances of
mIRC like this. Two for my bots, and one for my general chat.
Reply With Quote
  #7  
Old 13-02-2008
AlexB
 
Posts: n/a
Re: Running multiple instances of an application

This is what I would try.


Create a duplicate folder for the second app. I mean you have to install if
from scratch (zip file) but prior to that you should try to rename the first
folder and the exec. I presume the folder is in Program Files. It is not
easy in Vista but doable.

Creating the second folder may be necessary if Vista does not allow you to
create a second instance since both app will have to tap different
databases. I do not know if it is acceptable for you or not? It may be
something the logistic of your trading operations won't allow to happen. In
this case it is just an idea to consider and discard.

On top of creating the second folder with the exec under a different name
you have to make sure that the ports for both instances ARE different.
Usually the API vendor stipulates the port or the range of ports to be used.
Usually a latitude of some variations is allowed. In quotetracker which I
use ports 16039 and 16040 are the ports to use although the user may change
that. If you are going to run two APIs at once then the port separation must
be preserved.

It is unclear how you are going to reconcile your separate but duplicate
databases if it is important.

Another option for you is to examine the options in your API if there is a
switch to allow two instances running. My quotetracker is so complex if I
need to activate a new function it is easier fro me to send them email than
look for it myself.

You can rename your IQuote32.exe in IQuote32first.exe.

An idiotic thought. you've got a 32 bit app on 64 bit machine. is it
possible that this does not allow you to launch the second instance? Perhaps
there is a newer IQuote64.exe?

Very, VERY unlikely.

The third option is to consider running a virtual PC and you may have
another instance in that separate virtual machine.
Reply With Quote
  #8  
Old 14-02-2008
mmedved@gmail.com
 
Posts: n/a
Re: Running multiple instances of an application

1. Separate install in a separate directory
2. ALLOWDUP command line parameter.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Vista > Vista Help
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Running multiple instances of an application"
Thread Thread Starter Forum Replies Last Post
multiple instances of Norton Safety Minder running Artificial-Intelligent Networking & Security 6 18-09-2010 02:26 AM
Windows 7 explorer.exe: Multiple instances stay running Prince$O$Persia Operating Systems 5 20-08-2010 04:55 AM
Multiple instances of Outlook Zeeman28a Windows Software 3 29-07-2010 07:56 PM
Multiple ActiveX instances Wagstafari Operating Systems 2 23-11-2009 05:04 AM
Running Multiple Instance of single application on Mac OS MaCiNToSHeR Operating Systems 6 27-08-2009 12:05 AM


All times are GMT +5.5. The time now is 07:59 PM.