Print Page | Close Window

CXTRegistryManager::EnumValues bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=9590
Printed Date: 14 November 2025 at 2:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTRegistryManager::EnumValues bug
Posted By: scruzer
Subject: CXTRegistryManager::EnumValues bug
Date 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.



Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net