Moises Lopez wrote:
> i once wanted to check if another app was still running
> 
>      if (FindWindow('TfrmAnotherApp', nil) <= 0) and
>         (FindWindow(nil, PChar('Caption for my other main 
> form')) <= 0) then
>      begin....

Yes, FindWindow is what I would like to use, but how does one alter the
value of the Windows Class Name in the other app so I know the value of
TfrmAnotherApp.

I would rather keep it simple like this and not use mutex's if at all
possible.

Thanks,
Ross.
---------------------------------------------------------------------------
    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