View Single Post
  #4   (View Single Post)  
Old 31st March 2009
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 437
Default

Ok, I see. Trying to write code to use across windows version now there is a headache. Personally I try and stay away from the registry. And wasn't Microsoft suppose to be moving away from the registry with Vista on. Or did that not happen?

Anyway, I'd probably write two function StringFromRegKey and RegKeyFromString which would basically be your if statement.

If the registry key values are imported from a MS dll then the will probably stay the same across version. They are pretty good about not changing the lower level stuff like that.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote