I've found this somewhere in internet:

Var 
Handle : Word;
begin
Handle := WinExec('Appname.exe',SW_ShowNormal);
While GetModuleUsage(Handle) > 0 do
Application.Processmessages;
end;

I can't find what is GetModuleUsage.. Any Idea.



---------------------------
>From Argentina to the World
---------------------------

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

Reply via email to