One can use sysNotifyProcessPenStrokeEvent or any other notification via an
application or via a separately loaded code resource [see below].

QUESTION. Has anyone compared the speed of the 2 different approaches.

If all things are more or less equal and the major [but necessarily the only]
thing to consider is the speed, then which approach is preferred?

Thanks, Paul N.

#############################################################################
If youre writing an application, you should pass NULL as the callbackP
parameter. In this case, the system notifies your application by sending it
the sysAppLaunchCmdNotify launch code. This launch codes parameter block
points to a SysNotifyParamType structure containing details about the
notification.

If your code is not in an application, for example, it is a shared library or
a separately loaded code resource, then receiving a launch code is not
possible. In this case, pass a pointer to a callback function in
callbackP. This callback should follow the prototype shown in
SysNotifyProcPtr. Note that you should always supply a card number and
database ID to SysNotifyRegister, even if you specify a callback function.
#############################################################################

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to