Re: product activation info

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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



.



Relevant Pages

  • Re: Module, plug-ins,..
    ... You can query the registry to get a list of the registered ... COM libraries in a particular category which you specify. ... you still have to design the interfaces ...
    (borland.public.delphi.non-technical)
  • Re: Configuring FTP and Telnet services
    ... the registry service user list. ... The telnet settings in the registry of the device follow the settings ... How do I specify user passwords for the userlist that is created? ... > need to add the Local Authentication Sub System to my project? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: OEQB Problems
    ... Steve ... That worked - little scary hitting delete in the Registry. ... I enjoy OEQB as it is so user friendly and I tend to trust programs ... Specify a different file name.' ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Hive based registry on CF card - how?
    ... You do not need to specify the place for the hive: if you have only the CF ... you have to configure the registry to load the necessary drivers ... Image is located on CF card. ...
    (microsoft.public.windowsce.platbuilder)
  • Registry Write Access & PDC
    ... There are a few students who need to use TI Code Composer Studio to ... This groups of students need write access to certain regsitry folders. ... used regmon (registry monitor) and found out which ones they are. ... do not have priveleges to change the registry access rights. ...
    (microsoft.public.win2000.security)