YOu could look for one of the many components that limit the number of
instance of your app.  Most have the facility to pass the command line onto
the already running instance.

Sean

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jeremy Coulter
Sent: Monday, 20 August 2001 6:03 p.m.
To: Multiple recipients of list delphi
Subject: RE: [DUG]: File Association


yip home now....can do a search.

Thanks, Jeremy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Myles Penlington
Sent: Monday, 20 August 2001 17:54
To: Multiple recipients of list delphi
Subject: RE: [DUG]: File Association


Sorry - out of luck, not any more - used to have one.
Suggest have a look on DSP etc for something. Maybe the gexperts stuff has
an example.
Myles.


-----Original Message-----
From: vss [mailto:[EMAIL PROTECTED]]
Sent: Monday, 20 August 2001 4:42 p.m.
To: Multiple recipients of list delphi
Subject: RE: [DUG]: File Association


ah...you got an example ? :)

Jeremy

-----Original Message-----
From: Myles Penlington <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Mon, 20 Aug 2001 15:35:01 +1200
Subject: RE: [DUG]:  File Association

> There are 2 ways.
> 1. DDE
> 2. Create a OS Event/Mutex/Semaphore and some Shared memory, when the
> second
> version starts, get the file name, fire the event and place the file
> name in
> the shared memory for the first instance of your application to read.
> Your
> main app then reads then responds to the event and reads the shared
> memory.
>
> Myles.
>
>
> -----Original Message-----
> From: vss [mailto:[EMAIL PROTECTED]]
> Sent: Monday, 20 August 2001 3:33 p.m.
> To: Multiple recipients of list delphi
> Subject: [DUG]: File Association
>
>
> Hi all. I have made it so an application that can open files that I
> have
> assoiated to it via explorer etc. The problem IS, that if I open one,
> thats fine, BUT if I open another, it opens another instance of my app.
> when I really only want it to open the next file in the same instance
> of
> the currently open app......if you get what I mean.
>
> Anyone know how I can fix this ?
>
> Cheers, Jeremy COulter
>
>
> -----------------------------------------------------------------------
> ----
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> -----------------------------------------------------------------------
> ----
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to