Вниз
Скачать: 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.021 c
3-40284
nm
2003-09-22 13:53
2003.10.13
Получение информации о таблицах в ADO по команде OpenSchema


1-40513
Hatawa
2003-10-02 07:37
2003.10.13
Как распараллелить два процесса?


3-40239
Alek_1
2003-09-23 01:45
2003.10.13
Как в FireBird подключиться по сети?


14-40591
Vlad
2003-09-25 12:33
2003.10.13
Задачка на логику


1-40463
Relaxxx
2003-10-02 16:11
2003.10.13
Как нарисовать на канвсе формы bmp файл




   Наверх