[BRLTTY] using BrlApi with Visual Studio

Thijs Koerselman thijskoerselman at gmail.com
Wed Nov 19 08:51:25 EST 2008


On Wed, Nov 19, 2008 at 12:42 PM, James Teh <jamie at jantrid.net> wrote:

> On 19/11/2008 9:29 PM, Thijs Koerselman wrote:
> > I have a listener attached to the window, so if I pass the correct
> > arguments to enterTtyMode() I should receive the button callback though
> > my window handler so there is no need to call the readKey() method
> > anymore, right?
> As far as I know, there's no way to be notified of brltty events in
> Windows. If I understand correctly, you would need to have a handle to
> the pipe which you place in a call to WaitForMultipleObjects or the
> like. Unfortunately, the brlapi client only exposes the handle used to
> read from and write to the pipe. I think we need access to the actual
> pipe object to get a handle which can be waited on. Any corrections
> welcome, but I did look into this quite a bit. Trust Microsoft to make
> it overly complicated...
>


That's too bad. But in that case, what's the point of giving the window id
to enterTtyMode() ?

Thijs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mielke.cc/pipermail/brltty/attachments/20081119/c266da28/attachment.html 


More information about the BRLTTY mailing list