Con esta pequeña herramienta, podés saber cuánto tiempo hace que está prendida la computadora…

UpTime is licensed under the GNU GPL v3 (attached)…
Como siempre, acá están los links…
Para los que quieran leer fácilmente el código relevante:
DWORD dwMilliseconds = GetTickCount();
int nSeconds = (dwMilliseconds/1000)%60;
int nMinutes = (dwMilliseconds/1000/60)%60;
int nHours = (dwMilliseconds/1000/60/60)%24;
int nDays = dwMilliseconds/1000/60/60/24;
char pszStr[256];
sprintf_s(pszStr, 256, "%d days, %d hours, %d minutes and %d seconds", nDays, nHours, nMinutes, nSeconds);
MessageBox(NULL, pszStr, "UpTime 1.0 by NeoEGM <http://www.neoegm.com/software/uptime/>", MB_ICONINFORMATION);
Incoming search terms for the article:
Comentarios recientes