Article # 627, added by Geoworks, historical record
| first | previous | index | next | last |

What does IACPSendMessageAndWait() do exactly?



Q. Is it true that this call returns as soon as the message being
   sent is placed on the destination queue, and not after the
   message has been handled, which means that you cannot reliably
   used any return values from the message?

A. The call will not return until the IACP Server (usually the
   GenApplication object) has executed the method handler for
   the the message, so that's not the problem.

   The problem with return values is that the message is actually
   delivered via a force-queue, so there is no way to return a
   value directly.