[BRLTTY] using BrlAPI and speech API in one program

Samuel Thibault samuel.thibault at ens-lyon.org
Fri Aug 13 08:32:27 EDT 2010


Hello,

marquats at studi.informatik.uni-stuttgart.de, le Mon 02 Aug 2010 17:19:18 +0200, a écrit :
> > 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).
> 
> Thank you, I have now solved the problem by two ways:
> 
> 1. changing to multibyte coding in the project settings:
> Configuration Properties / General / Character set: Multi-Byte
> 
> 2. #undef UNICODE at the beginning of the program
> BTW, the constand UNICODE was defined to have the value 1

Mmm, it's odd. Did you include brlapi.h before or after windows.h?

> I have one more question: Is it also possible to test the input of braille
> keys with some virtual braille terminal?

Yes, use the model parameter, see BrailleDrivers/XWindow.txt

Samuel


More information about the BRLTTY mailing list