[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

TRegistry.WriteBinaryData - Example

Posted on 1998-10-27
3
Medium Priority
?
636 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 200 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month18 days, 8 hours left to enroll

825 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