Mensaje    Asunto: ayuda pasar el codigo siguiente a Builder... Responder citando

Hola a todos. ¿Alguien me puede ayudar pasar el codigo siguiente a Builder? (no conosco mucho de Delphi) y soy novato en builder.

const
RSPSIMPLESERVICE = 1;
RSPUNREGISTERSERVICE = 0;

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


procedure TForm1.FormCreate (Sender: TObject);
begin
RegisterServiceProcess (GetCurrentProcessID, RSPSIMPLESERVICE)
end;

procedure TForm1.FormDestroy (Sender: TObject);
begin
RegisterServiceProcess (GetCurrentProcessID, RSPUNREGISTERSERVICE)
end;


gracias de antemano...

DeLima