开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜