Querying value of Key(s) from Registry

Hi everyone.

My program creates/opens a key in my registry at
"\HKEY_LOCAL_MACHINE\Software\Sycorp\CashReg\Key"

I have three seperate subkeys in this directory each having its own value which is assigned dynamically from within the program.

I need to load those values when the program starts and store them in side an unsigned int array so that I can access them and use them.

I am pretty sure that I need to use RegQueryValueEx. Does someone have a snippet showing how to grab the key values? Remember that I need to store each returned key value as an unsigned int.

Thanks

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories