[interfacekit] Re: I'm baaaaaack!

Yeah, that sounds like exactly the thing. I monkeyed about some last night with my messaging test to have the second looper reply to the first and it just sat there. Clearly I have some debugging to do. ;)

e

Ingo Weinhold wrote:

So, my suspicion is, that SendReply() doesn't work correctly yet. But I'll
look into that.


I was more or less right. The reply wouldn't be delivered, for the unflattened original message didn't contain the reply target info. The reason for this was, that send_message() created a BMessenger with a dummy handler token -1 (== B_NULL_TOKEN), which is considered invalid by flatten_hdr(). I allowed myself to make that B_PREFERRED_TOKEN and now at least the reply is delivered successfully. I tested with RosterShell, but it doesn't behave right yet, I think. I'll have a closer look.

CU, Ingo



Other related posts: