På Torsdag 28 august 2008 , 00:29:03 skrev Alexander Nicolaysen Sørnes:
> Should be applied after Juan's regedit patch
>
>
> Alexander N. Sørnes
Sorry, mean't Lei's. No offence intended. :D
James Hawkins wrote:
static const WCHAR create_fmt[] = {'C','R','E','A','T','E','
','T','A','B','L','E',' ','`','%','s','`',' ','(',' ',0};
-size = sizeof(create_fmt) + lstrlenW(table) - 2;
+size = lstrlenW(create_fmt) + lstrlenW(table) - 1;
Since the string is const, and we
Robert Shearman <[EMAIL PROTECTED]> writes:
> Paul Vriens wrote:
>
> >Hi,
> >
> >I'd like to print unicode-strings in some tests (for debugging purposes).
> >The following however does not show nice output on wine (it does on
> >windows):
>
Paul Vriens wrote:
Hi,
I'd like to print unicode-strings in some tests (for debugging purposes).
The following however does not show nice output on wine (it does on
windows):
static const WCHAR dataW[] = {'S','o','m','e',' ','d
Hi,
I'd like to print unicode-strings in some tests (for debugging purposes).
The following however does not show nice output on wine (it does on
windows):
static const WCHAR dataW[] = {'S','o','m','e',' ','d','a',
On Mon, 19 Apr 2004, Dimitrie O. Paun wrote:
> On Mon, 19 Apr 2004, Francois Gouget wrote:
>
> > As for the previous patch it's important to check that the function does
> > not actually try to write to these strings. And indeed there are a few
> > cases where the function modifies the string, typ
On Mon, 19 Apr 2004, Francois Gouget wrote:
> As for the previous patch it's important to check that the function does
> not actually try to write to these strings. And indeed there are a few
> cases where the function modifies the string, typically to change the
> drive letter in strings like 'A:
Eric Pouech <[EMAIL PROTECTED]> writes:
> the (const WCHAR[]){'T','e','x','t'} (don't forget the trailing '\0')
> is the preferred. We all know it's a PITA, but it's better to put the
> constraint once, at code writing time.
Note that the (const WCHAR[]) cast is not portable, so you shouldn't
use
Kevin Koltzau wrote:
I've come upon an instance where I need to create a large lookup table of
unicode strings, and was curious what the recommended way to handle this was.
Using MSVC I would simply declare the string as L"Text"
I only see two options currently, either declar
I've come upon an instance where I need to create a large lookup table of
unicode strings, and was curious what the recommended way to handle this was.
Using MSVC I would simply declare the string as L"Text"
I only see two options currently, either declare the string as
(const
10 matches
Mail list logo