I need to call a linked-in library function which expects a
"string"-type parameter Unicode-coded. I have a CString from a
MultiByte Character Set environment. How do I make the conversion? I
have tried T2OLE and A2W but didn't succeed.


CString sUserNo
ExternFunction((string) sUserNo);

The above works for most characters, but not all, I need to convert
the character sets. Please help!