Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTRegistryManager::EnumValues  bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTRegistryManager::EnumValues bug

 Post Reply Post Reply
Author
Message
scruzer View Drop Down
Groupie
Groupie
Avatar

Joined: 01 February 2008
Location: United States
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote scruzer Quote  Post ReplyReply Direct Link To This Post Topic: CXTRegistryManager::EnumValues bug
    Posted: 15 February 2008 at 12:48am
I know that this function isn't meant to be used by me, but I was looking for a function that can enum the registry for me -- and here it was.
 
CXTRegistryManager::EnumValues
 
The bug is, that if the key you want to enumerate doesn't exist, it get's stuck in an endless loop.
 
It looks like EnumKeys has the same problem.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2008 at 1:35am
Hi,
 
Thanks, we added
 
 if (hKey == NULL)
  return 0;
in top of both methods.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.