Re: Timer for DOS window program?



In article <eIbEi.14884$tB2.6055@trndny05> nospam@xxxxxxxxxx "Dave" writes:

I have a C program that reads a voltmeter via the serial port. I
would like to automate the program so that it is read every few
seconds (resolution about .1 sec.). I know that Windows has a timer
available via API, but I have not found anything (yet) on the web for
DOS. I'm sure it has been done by many DOS programs, so I would
appreciate any help.

Dave,

Search the web for a file PCTIM*.ZIP (where '*' is 3 digits I
can't remember and which file I don't have to hand to check).
Loads of stuff in there, something of which will almost certainly
do what you want.

Pete
--
"We have not inherited the earth from our ancestors,
we have borrowed it from our descendants."
.



Relevant Pages

  • Automation of Linux Shell Through SSH from Windows (C#)
    ... OK here's the heavy question- I need to automate a Linux machine. ... I was hoping Putty would have a nice API to use but no such luck. ... Maybe there is a SSH shell with an API I can write to? ...
    (comp.os.linux.misc)
  • Timer for DOS window program?
    ... I have a C program that reads a voltmeter via the serial port. ... I would like to automate the program so that it is read every few seconds. ... I'm sure it has been done by many DOS programs, so I would appreciate any help. ...
    (comp.os.msdos.programmer)
  • Re: MS Word / Excel File Viewer API
    ... Does Java allow you to create a Word object thru which you can automate ... I've never tried to automate the viewer, so I dunno if it can be done. ... > API which can read MS Word formats. ...
    (comp.programming)
  • Re: MS Word / Excel File Viewer API
    ... Does Java allow you to create a Word object thru which you can automate ... I've never tried to automate the viewer, so I dunno if it can be done. ... > API which can read MS Word formats. ...
    (comp.lang.java.programmer)
  • Re: how to control the mouse and the keyboard
    ... See if the SendInputAPI helps you here. ... Check Abdoul [VC++ MVP] ... > want to create a tool to automate some steps in any application. ...
    (microsoft.public.vc.mfc)