Главная страница
    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.008 c
1-40477
Максим
2003-10-02 13:44
2003.10.13
Заставка к прогармме


1-40387
Zhouck
2003-09-29 11:38
2003.10.13
перехожу с С++B на Delphi. Как сделать в Delphi безразмерный масс


7-40710
GuestTM
2003-07-30 11:34
2003.10.13
глюки с DIBENG.DLL при смене видео режима!!!


6-40532
IGORYOK
2003-08-15 11:55
2003.10.13
Кто знает как подключиться к мобилки через интернет


1-40422
Relaxxx
2003-09-30 15:24
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
Английский Французский Немецкий Итальянский Португальский Русский Испанский