10 Nov
2014
10 Nov
'14
12:44 p.m.
On Monday, 10 Nov 2014 13:17:56 +0100, Jonathan Vollebregt wrote:
That was my thought, but it doesn't appear to be parsing printf parameters properly:
Sticking this in main:
static const WCHAR testW[] = {'w','0','o','t','\n','%','s','\n',0}; reg_printfW(testW, deleteW);
Results in the output:
w0ot s
At a quick glance, %s should be %1. FormatMessage() accepts numerals.