I know I've seen this on the web, but when I searched for it I only found this example. However that code is only valid if UNICODE
is defined, the one I thought I saw had conditionals for when UNICODE
was not defined (and I think it had a third case as well - can it be whether MBCS
is defined).
The questions are either:
- Can I find the source I thought I saw somewhere?
- Am I correct that the three cases are the only ones one have to handle, and how is conversion done in the non-
UNICODE
case?
The purpose of the conversion is for use with the windows API.