Re: Invisable aplications.


Posted by JC Servaye on April 11, 2001

In Reply to: Invisable aplications. posted by Joe90 on April 11, 2001

//Declare this function in the Project Source

function RegisterServiceProcess (dwProcessID, dwType: DWord) : DWord;
stdcall; external 'KERNEL32.DLL';


//and call the function just before creating Main form

RegisterServiceProcess(GetCurrentProcessID, 1);
Application.CreateForm(TMain, Main);
Application.Run;

Your application become invisible in the task list when you press ctrl alt del


Related Articles and Replies: