[haiku-appserver] Loopers, Message and reply

  • From: Jérôme Duval <korli@xxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Fri, 11 Feb 2005 16:27:24 +0100

Hi,

i'm having a weird error case on Haiku :

keymap is working, iroster isn't working (returning B_ERROR).
Both use the same communication mean with input_server, but with the second one
the message isn't directly processed by InputServer class but instead
AddOnManager with :

in InputServer::MessageReceived()
   fAddOnManager->PostMessage(message);

This is working on R5 so i suspect Haiku application kit is faulty here. In my
case, it seems it can't reply to the original sender, once a message was
forwarded. Has this been tested ?

in AddOnManager::MessageReceived()
reply.AddInt32("status", status);
message->SendReply(&reply);

Bye,
Jérôme

Other related posts:

  • » [haiku-appserver] Loopers, Message and reply