I have a problem setting the time with TimSetSeconds.
As soon as the program executes the TimSetSeconds function, there happens a
bus error inside another application (POSE says Date Book 3.5). Please take
a look at the code fragment below.
I know that POSE doesn't change the Windows system time, but the program
doesn't work on a real device, too (Fatal alert, Reset necessary).

Program runs with sysAppLaunchCmdNormalLaunch.
I'm using CW7, POSE 3.1, palmos35-en-ez.rom (Palm Vx, 8MB), Symbol SPT 1700.

Thanks for your help.
Helmut Giritzer


UInt32 ulSecs;
DateTimeType dtPalm;

dtPalm.year = 2001;
dtPalm.month = 6;
dtPalm.day = 5;
dtPalm.hour = 10;
dtPalm.minute = 11;
dtPalm.second = 12;
dtPalm.weekDay = 0; // don't know, set to 0

ulSecs = TimDateTimeToSeconds( &dtPalm );
TimSetSeconds( ulSecs );



-- 
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