Alright, I can send strings to api functions using the .c_str() deal, but that only works for functions like MessageBox that don't change it. How can I send strings so that these functions can modify them. An example of RegEnumKey would be great