Re: wchar_t* variable
From: Hanna-Barbera (NULL_at_excite.com)
Date: 02/19/05
- Next message: Hanna-Barbera: "Re: OnDestroy"
- Previous message: Riki Risnandar: "Re: help.. multiple select in listctrl"
- In reply to: Vinter: "wchar_t* variable"
- Next in thread: Roy Fine: "Re: wchar_t* variable"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 19 Feb 2005 11:57:28 -0500
I think it let's compiler know to store the text as wide char 16bits each
instead of the usual 8 bit per char.
This is for unicode. There is also a _T"" operator which is conditional on
if you compile your project with unicode or not.
"Vinter" <Vinter@malloc.com> wrote in message
news:eYMRlnlFFHA.2736@TK2MSFTNGP09.phx.gbl...
> Hi,
> In some book I see a function which expects a parameter in the form of
> wchar_t* . In another place the code calls this function with the
parameter
> L"predetermind string".
>
> I have 2 questions:
> 1. What is this operator "L" - does it convert the string to wchar_t*. I
> couldn't find any help in the MSDN.
>
> 2. I need to call the same function but with dynamic data , say some
CString
> variable.
> Can someone direct me with code how to do it?
>
> Thanks in advance
>
> Vinter
>
>
- Next message: Hanna-Barbera: "Re: OnDestroy"
- Previous message: Riki Risnandar: "Re: help.. multiple select in listctrl"
- In reply to: Vinter: "wchar_t* variable"
- Next in thread: Roy Fine: "Re: wchar_t* variable"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|