当前位置: 动力学知识库 > 问答 > 编程问答 >

registry - 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.

分享给朋友:
您可能感兴趣的文章:
随机阅读: