Solved

TRegistry.WriteBinaryData - Example

Posted on 1998-10-27
3
620 Views
Last Modified: 2010-05-18
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.
0
Comment
Question by:yvesmail
3 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 50 total points
ID: 1344678
To write a double to the registry as binary data do this:

var
  MyDouble : double

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

Cheers,

Raymond.
0
 
LVL 3

Expert Comment

by:philipleighs
ID: 1344679
Do you mean a DWORD?
0
 

Author Comment

by:yvesmail
ID: 1344680
Thank you rwilson. It works great.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now