marqu...@studi.informatik.uni-stuttgart.de, le Sat 31 Jul 2010 12:46:54 +0200, a écrit : > Thank you! Now I managed to created the brlapi.lib file and compiled my > test program with Visual C++ 2008.
Ok, good. > But it doesn't work properly with the xwindow diver (brltty -b xw): > The program enters TTy mode (brlapi_enterTtyMode (BRLAPI_TTY_DEFAULT, > NULL);) and outputs text onto the braille terminal (brlapi_writeText (0, > txt);). This works only if the text contains only one character, but if it > contains two or more characters, then only a '?' appears on the virtual > braille display. > > If I compile the essentially same program with MinGW, it works as it should. Mmm, this looks like Visual is set up in unicode mode, but does #define UNICODE, please do (and I'd be happy to know what Visual #defines to announce it wants to use unicode variants of functions). > BTW, I'd like to know: > Against what have I linked the program when I used brlapi.lib? If I want > to distribute the program later, what must be included? As I said, brlapi0.5.dll. I've now added that to the documentation for the next upload. Samuel _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: BRLTTY@mielke.cc For general information, go to: http://mielke.cc/mailman/listinfo/brltty