Re: [start][start][try2] Output with console encoding
19 Feb
2007
19 Feb
'07
11:16 p.m.
Anatoly Lyutin wrote:
+ len = MultiByteToWideChar( CP_ACP, 0, message, -1, NULL, 0 ); + bufW = HeapAlloc( GetProcessHeap(), 0, len ); +
len is in WCHARs, not bytes so this will cause heap corruption. It really would be a lot easier to make "output" take a Unicode string instead. -- Rob Shearman
6876
Age (days ago)
6876
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Shearman