Re: product activation info
- From: "Starglider 4 \(Marco Knoester\)" <rebel-6-out@xxxxxxxxx>
- Date: Thu, 15 Jan 2009 19:35:57 +0100
Yes.
What's not entirely clear to me:
with RegCreateKeyEx() you can specify
a Hive and a SubKey.
But how can i create a 'company' and a 'Program'?
Regards,
M
'We..ourselves..are the aliens..' (M)
"Alex Blekhman" <tkfx.REMOVE@xxxxxxxxx> schreef in bericht
news:ujGwUevdJHA.5648@xxxxxxxxxxxxxxxxxxxxxxx
"Starglider 4 (Marco Knoester)" wrote:
i only need to store 2 to 4 values.
have you got some important reminders? after all: codeing the registry is
a risky business if you create errors. it's my first time at this.
is it 'just' something like:
1. RegCreateKeyEx(..)
2. RegSetvalueEx(..)
3. RegCloseKey(..)
or is there a lot more to it?
Basically that's it. Think of the Registry as of some kind of parallel
filesystem because the same principles apply. Keep your data neat and well
organized. Do not store user specific data in HKLM and vice versa. And
most important of all - respect Registry access rights. Do not open a key
with KEY_ALL_ACCESS right if all that you need is reading. Specify rights
appropriate to the operation. There are tons of crappy software that fails
to behave politely on the system. It annoys to no end.
HTH
Alex
.
- Follow-Ups:
- Re: product activation info
- From: Alex Blekhman
- Re: product activation info
- From: Alec S.
- Re: product activation info
- References:
- product activation info
- From: Starglider 4 \(Marco Knoester\)
- Re: product activation info
- From: Norman Bullen
- Re: product activation info
- From: Starglider 4 \(Marco Knoester\)
- Re: product activation info
- From: Alex Blekhman
- product activation info
- Prev by Date: Re: array reset
- Next by Date: Re: array reset
- Previous by thread: Re: product activation info
- Next by thread: Re: product activation info
- Index(es):
Relevant Pages
|