🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools.owl
Article #5

Re: Need help creating simple clock prgm in windows.

#5
From: Mario Zimmermann
Date: Thu, 28 Sep 1995 06:57
17 lines
1252 bytes
wleong@sfsu.edu ("2 Wise"-King) wrote:
>
>I need to write a windows program that will display time. I have thought
>about the problem, I don't think I should be using time, or clock or 
>biostime since I'll be polling the CPU all the time. 

Read the documentation about the windows timer functions.
You can setup a timer which calls your program every minute.

-----
Mario

--
#    #  ##  #  #      LION Gesellschaft fuer Systementwicklung mbH
#    # #  # ## #      Mario Zimmermann        email: zimmerma@lion.de
#    # #  # # ##      Universitaetsstr. 140   Phone: +49 9709-315
#### #  ##  #  #      D-44799 Bochum          Fax:   +49 9709-111
Technical Details
Message-ID: <44dh1h$gm3@lucky.lion.de>
Path: arc1-ca.pugleaf.net!lion.de!news
References: <44b5s2$132@news.csus.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!lion.de!news
From: Mario Zimmermann <zimmerma@lion.de>
Newsgroups: comp.os.ms-windows.programmer.tools.owl,comp.lang.c++
Subject: Re: Need help creating simple clock prgm in windows.
Date: 28 Sep 1995 06:57:53 GMT
Organization: LION GmbH, Bochum, Germany
Message-ID: <44dh1h$gm3@lucky.lion.de>
References: <44b5s2$132@news.csus.edu>
NNTP-Posting-Host: siggi.lion.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.1N (X11; I; SunOS 5.4 sun4m)
To: wleong@sfsu.edu
X-URL: news:44b5s2$132@news.csus.edu