windows çalışma süresi?

Delphi'de kod yazma ile ilgili sorularınızı bu foruma yazabilirsiniz.
Cevapla
Kullanıcı avatarı
sherlockholmes
Kıdemli Üye
Mesajlar: 930
Kayıt: 19 Tem 2004 09:13

windows çalışma süresi?

Mesaj gönderen sherlockholmes »

windows çalışma süresini hangi komut ile öğrenebilirim?oturum açma tarihi ve saat bilgisi nerede tutulur? windows 2000 de ctr+alt+del e basınca çıkan ekranda login olma ile ilgili özellikler bulunuyor onlar nerede saklanır?
Kullanıcı avatarı
freeman35
Admin
Mesajlar: 2380
Kayıt: 12 Haz 2003 04:05
Konum: merkez camii yanı

Mesaj gönderen freeman35 »

Bakınız Delphi SDK help
Windows time is the number of milliseconds elapsed since Windows started running. To ensure that applications designed for earlier versions of Windows continue to run successfully, the GetTickCount function returns the current Windows time. However, if your application requires the current date and time of day, you should use the GetSystemTime or GetLocalTime function whenever possible.

You typically use GetTickCount to compare the current Windows time with the time returned by the GetMessageTime function. GetMessageTime returns the Windows time when the given message was created.
Windows time is stored as a 32-bit value, which means Windows can record no more than 2^32 millisecond intervals before the 32-bit value overflows to zero. This is approximately 49.7 days. If you use Windows time, check for the overflow condition when comparing times.
kolay gele
ZAGOR TENAY TÜRK'tür... TÜRK kalacak...
Zoru başarırım, İmkansız zaman alır
FreeMan 35.5

Soru sormaya üşenmiyorsan, sorunun çözümünü yazmaya da üşenme !!!
Cevapla