Вниз
Скачать: CL | DM;

Какая функция в Delphi аналогична паскалевской Delay?   Найти похожие ветки 

 
Recruit   (2003-10-02 07:55) [0]

Напомните, плз, какая функция в Delphi аналогична паскалевской Delay?


 
Radionov Alexey ©   (2003-10-02 07:58) [1]

Sleep


 
Ban   (2003-10-02 08:04) [2]

Thanks!


 
Е-Моё имя ©   (2003-10-02 09:05) [3]


> Thanks!

нет такой функции, не морочьте человеку голову


 
Song ©   (2003-10-02 09:08) [4]

2Е-Моё имя © (02.10.03 09:05) [3]

The Sleep function suspends the execution of the current thread for a specified interval.

VOID Sleep(

DWORD dwMilliseconds // sleep time in milliseconds
);


Parameters

dwMilliseconds

Specifies the time, in milliseconds, for which to suspend execution. A value of zero causes the thread to relinquish the remainder of its time slice to any other thread of equal priority that is ready to run. If there are no other threads of equal priority ready to run, the function returns immediately, and the thread continues execution. A value of INFINITE causes an infinite delay.



Return Values

This function does not return a value.

Remarks

A thread can relinquish the remainder of its time slice by calling this function with a sleep time of zero milliseconds.
You have to be careful when using Sleep and DDE. If a thread creates any windows, it must process messages. DDE sends messages to all windows in the system. If you have a thread that uses a wait function with no time-out interval, the system will deadlock. Therefore, if you have a thread that creates windows, use MsgWaitForMultipleObjects or MsgWaitForMultipleObjectsEx, rather than Sleep.


 
Е-Моё имя ©   (2003-10-02 09:16) [5]


> > Thanks!
>
> нет такой функции, не морочьте человеку голову



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

Скачать: CL | DM;



Память: 0.46 MB
Время: 0.024 c
14-40620
Ihor Osov'yak
2003-09-21 17:03
2003.10.13
RunOnce в Win9X в real mode (дос-режиме)


3-40320
rosl
2003-09-22 09:02
2003.10.13
Перенос данных


14-40679
Sergey13
2003-09-23 11:04
2003.10.13
Москва - 2012. Я плакал. 8-)


1-40342
ZLODey
2003-10-01 21:05
2003.10.13
Мастера, помогите плиз...


1-40476
k_len
2003-10-02 13:56
2003.10.13
Exception EDBEngineError




   Наверх