BTW, if instead of
FrmAlert (kMyAlert);
I use
SndPlaySystemSound (sndWarning);
the HotSync process doesn't hang and I do hear the sound. So, what's the problem with displaying an alert?
The syncNotify message isn't sent using a thread that has access to the user interface system. The way to do UI is to have your syncNotify handler set an alarm for the near future, then in the alarm handler do UI, since the alarm handler will actually switch to your application and give it appropriate context.
-- Ben Combee, Senior Software Engineer, palmOne, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
