Re: [WIN] run only one instance of selected program
- Posted by DanMoyer at PRODIGY.NET
Jun 24, 2001
Euman,
Oh, that's not what I meant: I'm not asking how to make the IDE *program*
know to only run one instance of itself, I'm asking how, if I *invoke* it
(or any program) from within *another* program, and the invoked program is
already running, don't run a 2nd copy, just jump into the one already
running.
Dan
----- Original Message -----
From: "Euman" <euman at bellsouth.net>
> Add this to the top of the IDE
>
> if setAppName("Win32Lib IDE") != 0 then
> abort(0)
> end if
>
> this adds only one instance to run at any one time.
>
> Euman
> euman at bellsouth.net
>
>
> ----- Original Message -----
> From: <DanMoyer at PRODIGY.NET>
> To: "EUforum" <EUforum at topica.com>
> Sent: Saturday, June 23, 2001 21:54
> Subject: [WIN] run only one instance of selected program
>
>
> > >
> >
> > I have a button in my RunDemos which causes the IDE to run, (and another
> > which causes Wolfgang's Tutorial to run); but if the IDE were already
> > running, I would want the button *not* to cause another instance of the
IDE
> > to run, but just bring up the already running instance. I've looked at
> > Wolf's examples which relate (kick-it 1,2&3), but can't figure out how
to do
> > it.
> >
> > Help!
> >
> > Dan Moyer
> >
|
Not Categorized, Please Help
|
|