Posted on 1998-09-21
Medium Priority
Last Modified: 2010-04-06
reading the binary data in the registry
Question by:coucou
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 10

Accepted Solution

viktornet earned 100 total points
ID: 1340460
Here is an example......

uses Registry;

procedure TForm1.Button1Click(Sender: TObject);
  r : TRegistry;
  Buf : array [0..15] of Byte;
   i : integer;
  r := TRegistry.Create;
  with r do
     OpenKey('\Software\Microsoft\ActiveMovie\Control\Media Player', False);
      ReadBinaryData('WindowPosition',Buf, SizeOf(Buf));
      Caption := '';
      for i := 0 to 15 do
         Caption := Caption + IntToStr(Buf[i]);

Viktor Ivanov
LVL 10

Expert Comment

ID: 1340461
What are you planning to do ???accept or reject???

//Viktor Ivanov

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

762 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