On 16-7-2012 9:38, michael.vancann...@wisa.be wrote:
> On Mon, 16 Jul 2012, Reinier Olislagers wrote:
>> After having had help on the list I managed to write UTF8 text to the
>> Windows Vista console using 2.6
>> However, my test program (see attachment) fails on trunk.
<snip>
>> This works in FPC 2.7.1:
>> WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE),@s[1],length(s),bw,nil);
>> ... but seems to be Windows-only.
> 
> Indeed.

Thanks Michael, I forgot: do you or does anybody know why the example
code I posted works in FPC 2.6.1 and doesn't work in FPC 2.7.1?
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to