I have an application that wants to use some old code once developed on unix, then ported to win32. I am developing my app on NT4.0.
The old code resides in a static library, and needs a char* as a parameter. My problem is that I am reading this parameter from the registry, and then passing it on to this old function. What I get back from the registry is a unicode string (wchar_t or CString if you like) and I need to convert this to a char* with characters of 8bits..
I know it's possible, but how??