[email protected], le Sun 22 Aug 2010 11:40:13 +0200, a écrit : > >> I can click on the cells, but the input is not delivered to the > >> program (client). The method brlapi_readKey (1, &key) does not > >> return when I click. > > >Did you use brlapi_acceptKeys() to enable getting them? > > Now I tried to solve it by calling brlapi_acceptKeys() > or brlapi_acceptAllKeys(), but it made no difference.
Mmm, that's odd. I guess you made sure that your windows has the focus when you are pressing the cells? > >> 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 didn't include windows.h at all. > It is a simple Win32 console application and does not need it. I'm realizing that brlapi.h actually includes windows.h itself at the head, so it shouldn't matter. I'll have to check why unicode wasn't working. Samuel _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://mielke.cc/mailman/listinfo/brltty
