Inserting REG_BINARY data into registry
From: Martin Searle (M.A.Searle_at_kent.ac.uk)
Date: 11/26/03
- Next message: Bruce Roberts: "Re: Variable by Name"
- Previous message: Rob Kennedy: "Re: Best way to update html tag"
- Next in thread: Dodgy: "Re: Inserting REG_BINARY data into registry"
- Reply: Dodgy: "Re: Inserting REG_BINARY data into registry"
- Reply: Dodgy: "Re: Inserting REG_BINARY data into registry"
- Reply: AlanGLLoyd: "Re: Inserting REG_BINARY data into registry"
- Reply: Maarten Wiltink: "Re: Inserting REG_BINARY data into registry"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 26 Nov 2003 16:59:59 -0000
Hi,
I'm writing a regedit REG file reader and simple registry editor. I've got a
bit stuck on the best way to insert REG_BINARY data into the registry, in
the .reg file this is represented like this :
"BrowserBands"=hex:11,00,00,00,04,00,00,00,64,00,00,00,80,02,00,00,64,00,00,
\
00,66,00,00,00,02,00,00,00,16,00,00,00,65,00,00,00,01,02,00,00,64,00,00,00,\
67,00,00,00,09,00,00,00,64,00,00,00
What is the data type (an array of byte ?) that I should use to take this
large hexadecimal number, obviously I need to strip out the , and \ from it.
I am using Delphi 2 and using the windows API function RegSetValueEx which
works in much the same way as Tregistry.
Thanks for any help,
Martin Searle
Computing Service
University of Kent, UK
-- Martin Searle BSC(hons) Comp. Sci., Computing Officer (Computing) Room S18, Cornwallis South, x7884 Web: www.seasaltersailing.org.uk
- Next message: Bruce Roberts: "Re: Variable by Name"
- Previous message: Rob Kennedy: "Re: Best way to update html tag"
- Next in thread: Dodgy: "Re: Inserting REG_BINARY data into registry"
- Reply: Dodgy: "Re: Inserting REG_BINARY data into registry"
- Reply: Dodgy: "Re: Inserting REG_BINARY data into registry"
- Reply: AlanGLLoyd: "Re: Inserting REG_BINARY data into registry"
- Reply: Maarten Wiltink: "Re: Inserting REG_BINARY data into registry"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|