My application is calling another app using DmFindDatabase and
SysAppLaunch API routines. All flags to SysAppLaunch are cleared, so the
launch is a kind of a subroutine call.

Is it ok to do a callback from the callee to the caller? I did an
experiment in which an address of the function in caller application was
saved into the launch code parameter block, and passed to the callee in
SysAppLaunch. After performing some tasks, the callee does a callback to
the caller using the address of the function stored in the parameter block.

The experiment works fine (atleast in POSE, Palm V, and IIIx). I would
like to know if any of you have done this before, or knows if this scheme
has some pitfalls that are or might be incompatible different versions of
PalmOS or different devices.

Thanks,

  Tomi Kankaanp��
  VINC Inc.


Reply via email to