> I know how to associate filetypes and link them in the registry, and pass
> command parameters to Delphi, but how do you pass the same parameters to
> myapp once it is running eg if a graphics program, say I click an associate
> item, it opens OK with that, now I click another associate item, but I want
> Windoze to pass the new graphic to my open program and use that as a new
> image. Do I have to do a timer loop or something to keep checking for a new
> incoming paramstr?

I would expect that you'd use the 'only one can run at a time' trick but just before
the second instance aborts it sends a custom message to the first instance with
the file information so that the first instance knows to take over where the second
instance left off..

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to