TRegistry.WriteBinaryData - Example

I need to write to a registry entry in the form 00 00 00 00.
I believe this needs to be wriiten using TRegistry.WriteBinaryData. Could anyone post an example of using this procedure.  Thank you.
yvesmailAsked:
Who is Participating?
 
rwilson032697Connect With a Mentor Commented:
To write a double to the registry as binary data do this:

var
  MyDouble : double

MyRegistry.WriteBinaryData('MyKey', Mydouble, Sizeof(Mydouble));

Cheers,

Raymond.
0
 
philipleighsCommented:
Do you mean a DWORD?
0
 
yvesmailAuthor Commented:
Thank you rwilson. It works great.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.