Solved

Registry - Binary Data

Posted on 2004-10-13
3
355 Views
Last Modified: 2010-04-05
Anyone got a way of reading binary data from the registry WITHOUT using the TRegistry unit in delphi.

Needs to operate the exact same way as used in delphi - ie: ReadBinaryData(String, Buffer, BufSize)

Points and a grade A for a clean example.
0
Comment
Question by:mi6agent
3 Comments
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 12299250
TRegistry is just a light wrapper around Win32 API's registry functions:

RegOpenKey/RegOpenKeyEx
RegQueryValue/RegQueryValueEx
RegCloseKey

Check 'em out from the API help file, or read the source for the registry unit. I would say, that is a better way to learn ;-)
0
 
LVL 22

Accepted Solution

by:
Ferruccio Accalai earned 300 total points
ID: 12299343
0
 

Author Comment

by:mi6agent
ID: 12306666
Thanks - just what i was looking for
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

831 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