From: John Carter Organization: Dpt Water Affairs & Forestry (IWQS) To: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Thu, 8 Feb 1996 15:15:10 +0200 Subject: Rawclock? Hi all, I tried using rawclock() for nefarious purposes and got 0 for my pains. Looking at the source for rawclock left me dead, it seems to do, (what I would guess is an unsafe practice), a far peek into some part of dos memory. Any suggestions as to what I am doing wrong? Should I rewrite rawclock to try a more standard approach via the interrupt calls? #include #include main() { int i = rawclock(); cout << i << '\n'; } John Carter Institute for Water Quality Studies. Department of Water Affairs. Internet : ece AT dwaf-hri DOT pwv DOT gov DOT za Phone : 27-12-808-0374x194 Fax : 27-12-808-0338 [Host for Afwater list server] Founder of the Council for Unnatural Scientists.