Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

creating a value in HKEY_CURRENT_USER in WINDOWS NT SERVER and WINDOWS 2003 SERVER

0 views
Skip to first unread message

lucy

unread,
Jul 15, 2004, 2:21:15 PM7/15/04
to
Hi everyone,

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.

0 new messages