Hello,

I'm tring to use the MFC CRegKey
I get a warining about the SetValue with the 2 parameters that is is depricated, so I guess I have to use the setValue with the 4 parameters

I have 3 question about the SetValue with the 4 parameters
1. how do I set a DWORD?
2. Do I need to use open first?
3. Can anyone show me an example for the use of SetValue with 4 parameters?

thanks
avi