search for: writeconsolea

Displaying 4 results from an estimated 4 matches for "writeconsolea".

Did you mean: writeconsole
2009 Jan 13
2
My console app doesn't run in wine
...as it runs as a console app started without any command line args ;) ) but it doesn't run if I start it from command line (of course also without args - just "wine wmod.exe"). Then it fails to resize the console with SetConsoleScreenBufferSize and also to write anything to screen with WriteConsoleA. I use the latest stable wine release (? 1.0.1) and start the app from the Ubuntu 8.10 preinstalled Terminal window. These should be the relevant wine debug messages: 0009:Call KERNEL32.GetStdHandle(fffffff6) ret=0040aada 0009:Ret KERNEL32.GetStdHandle() retval=00000004 ret=0040aada 0009:Call KER...
2018 Apr 28
2
[Bug report] Chinese characters are not handled correctly in Rterm for Windows
...reate a trivial console application to just run them - would the characters display correctly in the same terminal from which you run R.exe? Yes. I created an Win32 Console Application in VS [ https://paste.ubuntu.com/p/h3NFV6nQvs/ ], and all the characters were displayed correctly in two ways. The WriteConsoleA variant uses the current console CP settings, and it should behave like fputc. I guess the Rterm uses its own console I/O mechanism so the 2nd parameter of fputc is not stdout's handle. (I tried to read the source but unable to figure out how it works). The crash in mbcs_get_next, which is al...
2018 May 04
0
[Bug report] Chinese characters are not handled correctly in Rterm for Windows
...a trivial console application to just run them - would the characters display correctly in the same terminal from which you run R.exe? > Yes. I created an Win32 Console Application in VS [ https://paste.ubuntu.com/p/h3NFV6nQvs/ ], and all the characters were displayed correctly in two ways. The WriteConsoleA variant uses the current console CP settings, and it should behave like fputc. > > I guess the Rterm uses its own console I/O mechanism so the 2nd parameter of fputc is not stdout's handle. (I tried to read the source but unable to figure out how it works). The crash in mbcs_get_next, whi...
2018 Mar 08
2
[Bug report] Chinese characters are not handled correctly in Rterm for Windows
Hello everyone, I am new to R and I have experienced some bugs when using Rterm on Windows. Chinese characters in the console output are discarded by Rterm, and trying to type them into the console will crash the Rterm application. ---ENVIRONMENT--- Platform = x86_64-w64-mingw32 OS = Windows 10 Pro 1709 chs R version = 3.4.3 Active code page = 936 (Simplified Chinese) ---STEPS TO