Solved

MS-DOS  3.xx timer handler

Posted on 1998-04-08
2
192 Views
Last Modified: 2013-12-29
Does anybody know what does the MS-DOS timer handler does when the time has passed by midnight? We have several embedded machines with MS-DOS 3.xx and it seems it sometimes locks whenever a DOS (File I/O?) function is called (almost) simultaneously when midnight occurs.
(some MS-DOS programming links will also be helpful).



0
Comment
Question by:noexpert
2 Comments
 
LVL 2

Expert Comment

by:Slarti
ID: 1804366
Could you give more details on the operation you are performing, what language you're writing in, what DOS function you're calling, whether you're running from within Windows, and so on. Also some background on the application itself might be useful.

0
 
LVL 7

Accepted Solution

by:
kamall earned 100 total points
ID: 1804367
noexpert,
The DOS timer handler resets system timer at midnight.
This seems to be conflicting with something inside your code. You might be able to avoid this by checking the timer value, or better the system time before committing your file I/O operation.
Regards.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now