>Hello everybody,
>
>I am making an evaluation program that I want to protect by two entries in the registry.
>
>One entry is with an expire-date and the other one with a value that says if the program is expired.
>
>My question is which is the best directory of the registry where I can store the entries in.
>
>Thanks in advanced,
>
>Janneke Huizinga
I remeber this thread, so since you probably want to hide them, put them under HKEY_LOCAL_MACHINE\Software\Classes\CLSID. Generate a couple of GUIDs and use them as Key names and put values under them. They will effectively be buried with the rest of the classes under Windows.
From Erik Moore earlier today:
lcGuid = SPACE(16)
DECLARE INTEGER CoCreateGuid IN "Ole32.dll" STRING @
=CoCreateGuid(@lcGuid)
lcRegKey = lcGuid
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao