> Is there a way to add to the hotsync log from the PDA side of hotsync?

You can write to the Palm's HotSync log but I don't think it'll appear in
the desktop HotSync log.

        DlkSetLogEntry(s, StrLen(s), true);

You'll need to #include DlServer.h. The last parameter indicates that you
want to append to the log. For debugging purposes, it can be useful to clear
the log when your app starts:

        DlkSetLogEntry("\n", 1, false);

I've found this quite useful for debugging. Even if the app crashes, you can
reset and then go view the log on the device. The HotSync log isn't very big
though, so you can't use it to log every event, for example.

DlkSetLogEntry is mentioned in the Knowledge Base article:

        http://oasis.palm.com/dev/kb/papers/1144.cfm

which is the fifth hit when you search for "HotSync log". The info's there,
but you have to dig for it. :)
--
Danny @ Palm

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

Reply via email to