On 10 March 2011 20:35, Drew Goodwin <drew at drewgoodwin.com> wrote:
> + length = MultiByteToWideChar(0, 0, name, -1, NULL, 0)+1;
> + {
> + /* Allocate on the stack */
> + WCHAR nameW[length];
Oh, and variable length arrays are a C99 feature, Wine tries to mostly
stick to C89.