My application is loading as a service, and it's trying to create some
registry values in different subkeys for HKEY_CURRENT_USER.
I am using RegCreateKeyEx and RegSetValueEx, with access rights
KEY_ALL_ACCESS and options REG_OPTION_BACKUP_RESTORE and
REG_OPTION_NON_VOLATILE both.
My application is loaded by another application, and i load it after i
have already started a session, so the key HKEY_CURRENT_USER already
exists.
The values will be properly created in alomost any operative system
except in the "server" versions, like Windows NT Server and Windows
2003 Server.
Do i need to define any particular privileges? Should i use another
API functions in these operative systems?
Any ideas will be really, really appreciated,
thanks a lot, lupscy.