Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2007.05.13;
Скачать: CL | DM;

Вниз

Узнать сколько времени прошло с запуска Wndows   Найти похожие ветки 

 
Викетор1985   (2007-04-20 10:59) [0]

Поздскажите сабж. Никак не могу вспомнить, уже есь яндекс измучил :(


 
stakan ©   (2007-04-20 11:03) [1]

The GetTickCount function retrieves the number of milliseconds that have elapsed since Windows was started.

DWORD GetTickCount(VOID)


Parameters

This function has no parameters.

Return Values

If the function succeeds, the return value is the number of milliseconds that have elapsed since Windows was started.

Remarks

The elapsed time is stored as a DWORD value. Therefore, the time will wrap around to zero if Windows is run continuously for 49.7 days.
Windows NT: To obtain the time elapsed since the computer was started, look up the System Up Time counter in the performance data in the registry key HKEY_PERFORMANCE_DATA. The value returned is an 8 byte value.


 
Викетор1985   (2007-04-20 11:05) [2]

Спасибо, именно то что искал :)



Страницы: 1 вся ветка

Текущий архив: 2007.05.13;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.03 c
1-1173953857
__DATA__
2007-03-15 13:17
2007.05.13
Работа с компонентами в многопоточном приложении


11-1159283659
Моторокер
2006-09-26 19:14
2007.05.13
Int2Str vs. IntToStr


4-1166014068
dzuev
2006-12-13 15:47
2007.05.13
datamax и delphi.


15-1176737810
@!!ex
2007-04-16 19:36
2007.05.13
Кривая по трем точкам.


1-1173874680
ElectriC
2007-03-14 15:18
2007.05.13
Проблемы с Ini-файлом