Yeh that should work.
Basically your trying to turn a unicode string into a char*, Might want to change ur properties to Multibyte, that's what I did because I like using ASCII more then Unicode.
Just Project > Properties > Configuration Properties > General: then select Multibyte set