Re: CString + unicode
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Mon, 14 Aug 2006 10:57:54 -0400
You should investigate the T2A macro. And ;you should contact your third-party vendor
about the availability of Unicode support, because in the real world this library is going
to be an abject failure when you suddenly move to a locale that requires Unicode.
joe
On 13 Aug 2006 21:11:23 -0700, "markww" <markww@xxxxxxxxx> wrote:
Hi,Joseph M. Newcomer [MVP]
Ok I have compiled my application with unicode character set. So I have
a bunch of CStrings which I am assuming now are all wide character
representations since I set my project to use unicode encoding.
I have a 3rd party library which takes arguments like this:
bool DoSomething(const char *pszArgument);
And I have an argument like:
CString strPath = _T("something awesome");
How could I pass that through? Am I in big trouble? What if this is
supposed to go on a japanese windows installation? That will probably
not work then yeah?
Thanks!
Mark
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- CString + unicode
- From: markww
- CString + unicode
- Prev by Date: Re: Control Arrays
- Next by Date: Re: C++ calling vb6 dll which calls another vb6 dll
- Previous by thread: Re: CString + unicode
- Next by thread: stream problems
- Index(es):
Relevant Pages
|