How I can to create array with tyoe HKEY in c++builder?
I need
HKEY [] all={HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CURRENT_CONGIG}.
But in 开发者_高级运维my opinion, to create array, i must use anything else...
It was mistake at word ConGig. Should be Config.
HKEY [] all={HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CURRENT_CONFIG}.
Assuming you are not to far of I think the following should work:
HKEY all[] = {HKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CURRENT_CONGIG};
Couldn't test it i'm on a Mac.
精彩评论