Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.10.13;
Скачать: 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 вся ветка

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

Наверх




Память: 0.45 MB
Время: 0.013 c
3-40240
sebsatian
2003-09-23 16:05
2003.10.13
вычисляемое поле не вычисляется


3-40309
Plt
2003-09-22 11:35
2003.10.13
Update conflicts with concurent update.


3-40274
Sesh
2003-09-20 13:10
2003.10.13
Работа с DBF без использования BDE


7-40701
Wistler
2003-07-05 17:16
2003.10.13
Невидимые или неубиваемые приложения в Win2000


1-40435
dim-
2003-09-27 02:27
2003.10.13
Высота заголовка окна





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский