GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 28-Mar-2006, 10:26
rff1 rff1 is offline
New Member
 
Join Date: Nov 2005
Posts: 12
rff1 is on a distinguished road

Enumerate Reg_Binary Keys


I have been working lately in the windows registry and have run into a bit of a problem enumerating the values of REG_BINARY keys. In the HKLM\MICROSOFT\WZCSVC\Parameters\ directory I am dealing with the Static#0000 keys but when I do normal enumeration with the RegOpenKeyEx() function I only get a couple fo symbols displayed on the buffer. I figured out this is because I am trying to open like it is a string value and the REG_Binary keys have 20 bytes that are null thereby terminating the display of the key. Does anyone have any ideas on how best to open or display these keys?

Thanks
  #2  
Old 30-Mar-2006, 02:03
Dominic Dominic is offline
Member
 
Join Date: Aug 2005
Posts: 123
Dominic will become famous soon enough

Re: Enumerate Reg_Binary Keys


If you can be sure of getting the correct size of the string, then you could try a memcpy and there after use your local copy.
 
 

Recent GIDBlogPython ebook by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
foreign keys using phpmyadmin jlee MySQL / PHP Forum 6 14-Apr-2008 21:00
How to interpret characters as they are being entered? nkhambal C Programming Language 18 14-Feb-2006 11:41
Trees and Keys (not for the faint-hearted!) greymalkin C++ Forum 11 08-Nov-2005 09:04
How to read arrow keys Paramesh C Programming Language 6 06-Nov-2005 06:00
Getting arrow key's from a terminal immediately kikazaru C++ Forum 3 31-Jan-2005 20:45

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 09:03.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.