Ken Phipps wrote:
> Is there a way to save a set of enumerated values to the
> registry, basically saving/loading directly from/to the
> 'set' variable? Example:
var
test: TTestSet;
reg: TRegistry;
begin
reg.WriteBinaryData('ValueName', test, SizeOf(test));
if reg.ReadBinaryData('ValueName', test, SizeOf(test)) <>
SizeOf(test) then
raise Exception.Create('too much data to read');
end;
--
Rob
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi