On Thu, 9 Dec 1999, Rubin, Dan wrote:
> Hello,
>
> Is it possible to create a new Memo ad entry each time an palm application
> starts and then use a good old fashion function withing that app such as
> sprintf(outputmemo,...) to log debug messages to the new memo for testing
> and debugging purposes?
>
> Thanks
> - Dan
Sure you can. The easiest way is to open Memo DB, allocate chunk
(DmNewHandle), lock it and then do formating, writing in etc. the way you
want and attach it to Memo DB (DmAttachRecord) at the end. You can even
create debugger's own category in Memo DB for such entries. It's very
usable method, I've tracked one freakin' bug that way...
-DR