Hi,
Seems from your message errors that you didnt' understand what i meant to. Acutally all you've to do is use registry unit in your uses clause, create an instance of TRegistry and use TRegistry's ReadBinaryData function.
for example
var
reg : TRegistry;
begin
reg := TRegistry.Create;
try
//Set the registry's root path and use openkey to open
the key i've mentioned in my previous msg.
//use reg.ReadBinaryDate(Key,buffer,sizeof(buffer)
// check the value of buffer as buffer parameter is
// passed by reference. if it is '1' then connected
finally
reg.Free;
end;
end;