Delphi Programming question
Posted on 1997-06-20
What i want to do is to write a binary value (record called Settings) into the registry as a binary instead of to a file. It is 176 bytes in length and for the life of me i can't get the WriteBinaryData to work. I know this will be something simple. Could someone please post me a small sample of code that i need and what parms to put where to get this procedure working. and how do you tell it what binary data to write to it.
--- Cut From Delphi 2 Help File.
TRegistry object, TRegIniFile object
procedure WriteBinaryData(const Name: string; var Buffer; BufSize: Integer);