Sending a hex-value to the registry?

Storzum

Member
Hello again,

I want to write to the Registry and do it like this:

LOAD regpath BASE-KEY "HKEY_CURRENT_USER".
USE regpath.
PUT-KEY-VALUE SECTION "Action" KEY "Keyname" VALUE cValue.
UNLOAD regpath.

The key allready exists and I only want to change the value.
The key have the Typ REG_DWORD and needs a hexadecimal-value.
But when I send a char-variable to the key (cValue), the key
change to the type REG_SZ.


Does someone know how I can send a "real" hex-value to that key
(0x00000001 for example)?

I am working under 91d on Windows XP.

Greets
Storzum
 
Top