Click here to get back home

ETEN M600+ Doesn't like programs changing date/time?

 HomeNewsGroups | Search

microsoft.public.smartphone.developer - Developing software for MS Smartphone? This is your group! 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
ETEN M600+ Doesn't like programs changing date/time? gozer61 10-23-2006
Posted by gozer61 on October 23, 2006, 11:23 am
Please log in for more thread options
Does anyone have any experience trying to change the date/time
programatically on an ETEN m600+ smartphone? I wrote a simple dialog-based
app in C++ for WM5. The only thing I added over the wizard-generated app was
to insert a call to SetLocalTime() into the OnInitDialog() handler. When
executed, the date and time do change (although years appear to be restricted
to within 100 years of the current one as they're mapped back into the
current century [i.e. 1961 becomes 2061]). However, the device becomes
unstable in that my application may crash, may not display the dialog after
setting the date/time, or may even lock up. The situation becomes worse the
more runs through the debugger I make. Resolution is currently to pop the
battery and reset the device completely. YIKES!

More information: via the output window, I notice a couple of calls to
functions named somethign like OEMSetDateTime() which, I assume, is part of
the O/S implementation.

Setting the date/time through the system applet seems to cause no ill effects.

I'm assuming that while you can change date/time, there's some other piece
of software running either in the O/S or as an application that does not like
my dynamic date/time change and is not playing nicely with the other apps.

I've read that the m600 sends a slew of proprietary user-defined windows
messages to all apps. Does anyone know if that's true?

Any insight y'all can provide would be greatly appreciated.

Similar ThreadsPosted
SQLCe datetime in different formats December 15, 2007, 6:45 pm
Remove Programs contents November 14, 2005, 8:33 am
writing programs for WM2005 in C++ December 4, 2006, 8:40 am
How to launch "Remove Programs" from programming? November 16, 2006, 1:36 am
Places to submit your freeware programs July 30, 2008, 10:51 am
file browser and running programs view July 24, 2005, 7:06 am
add custom menu item to start programs August 8, 2007, 11:18 am
how to enter remove programs menu of setting by using code? November 1, 2005, 1:45 am
Changing to and from Silent Profile March 29, 2006, 6:11 pm
changing menu text March 15, 2005, 4:58 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy