windows up time

Despre PHP, MySQL, HTML, C++, VB, JAVA etc.

Moderator: Moderatori

Post Reply
User avatar
Wolf359
Posts: 40
Joined: Wed Oct 22, 2003 2:20 pm

windows up time

Post by Wolf359 »

Am vazut mult multe programe care printre alte functii ne spun si de cat timp este windowsul pornit. Eu am nevoie de acesta funcite, dar nu vreau sa instalez un intreg soft pentru asat, resursele sunt limitate.
Exista undeva vreo funcite API care returmeaza timpul asta, sau ceva cheie prin registry? Asta deoarece vreau sa imi scriu eu un programel care sa imi afiseze asta.
Mumltumesc.
Rezistance is futile
User avatar
Black Shark
Moderator
Posts: 3096
Joined: Tue Nov 26, 2002 9:51 pm

Post by Black Shark »

uite aici : http://www.planet-source-code.com/vb/sc ... 3&lngWId=3

e cam ce vrei sa faci tu, dar daca nu poti extrage codul necesar
1 out of 3 people who start smoking will eventually die. The other two apparently become immortal.
User avatar
raptor
Posts: 546
Joined: Thu Jul 03, 2003 10:25 pm

Post by raptor »

poti sa faci in pascal un program pe care il pui pe startup si care tine minte ora si data la care deschizi calc. Apoi faci un prog care citeste din fisier si calculeza de cat timp e calc pornit.
For a list of all the ways technology has failed to improve the quality of life, please press three.
User avatar
raptor
Posts: 546
Joined: Thu Jul 03, 2003 10:25 pm

Post by raptor »

in plus resursele consumate sunt minime
For a list of all the ways technology has failed to improve the quality of life, please press three.
User avatar
Wolf359
Posts: 40
Joined: Wed Oct 22, 2003 2:20 pm

Post by Wolf359 »

Black Shark wrote:uite aici : http://www.planet-source-code.com/vb/sc ... 3&lngWId=3

e cam ce vrei sa faci tu, dar daca nu poti extrage codul necesar
Asta cautam, mersi
Rezistance is futile
User avatar
Wolf359
Posts: 40
Joined: Wed Oct 22, 2003 2:20 pm

Post by Wolf359 »

raptor wrote:poti sa faci in pascal un program pe care il pui pe startup si care tine minte ora si data la care deschizi calc. Apoi faci un prog care citeste din fisier si calculeza de cat timp e calc pornit.
Hmmm... nu m-am gandit la asta... si era atat de simplu :-)
:-)
Rezistance is futile
Post Reply