Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft's DST OS Patch 1

Status
Not open for further replies.

wsjames

Programmer
Apr 7, 2003
50
US
Will Microsoft's daylight savings OS patch have any effect or impact on FP2.6 or it's applications - assuming the application resides in an area affected by DST?
 
It is not that simple. FPD under XP may well take system time on startup, but it then runs with its own internal clock, which stops if the computer hibernates and restarts where it stops when it awakes. If the computer hibernates for an hour FPD clock is an hour slow.

FPD does not poll the system time on a regular basis, and will not switch time when clocks advance or go back for Daylight saving time.

Have a look at thread 182-1117998 on time functions under Win Xp and possible hibernation issues. The solution proposed in that thread is to put
RUN cmd.exe /C:time /t
in your program code just before you call the time() function.
This ensures that FPD reads system time and updates itself.

 
It is not that simple.

I didn't realise that, thanks for clarifying matters. I've only got the one FPD app still running and the clients only use it for short periods so we'd never noticed this behaviour. I should imagine it could throw up some really weird and unrepeatable bugs though.

Have a star.

Geoff Franklin
 
When attempting to use the DOS command, a DOS window appears. I am unsure as to how to close the window programatically. While the window is open, FP2.6 is halted, allowing no input. Any assistance would be appreciated.
 
wsjames - In order that more people might be able to find answers to their various questions by looking at the existing posting Subjects, we highly suggest that when the topic changes dramatically, a new posting be created.

Your newest posting does not appear to have much to do with "Microsoft's DST OS Patch" so I would recommend that you create a new posting.

Good Luck,


JRB-Bldr
VisionQuest Consulting
Business Analyst & CIO Consulting Services
CIOServices@yahoo.com
 
JRB-Bldr,

You are correct. However, my follow-up question futher examines the integrity of the solution offered by 'Cricket'. I wasn't sure whether the solution's challenge (for me) i.e. the DOS window issue, was the result of my not following instruction, not having complete instruction, or, whether a problem exists with the command itself.

Please note, this is not a challenge to your recommendation. I will certainly follow the rules of this forum (which, by the way, I think is the greatest service since...filtered water).

Thanks for the direction!
 
There is a typo in my posting above.
There is an extra : . Command should read
RUN cmd.exe /C time /t

This may have prevented the DOS window from closing.

cmd.exe /c carries out the command and terminates.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top