James Hawkins wrote: > I'm guessing you mean -Wwrite-strings. I don't know the answer to the > question, but we should probably be using lstrlenW instead. > Sorry, yes: compilation breaks if the -Wwrite-strings flag is specified. Thanks, -- Andy.