I found that Sleep worked less than perfectly for me.
I'll post the problematical example if I can find it.
-m.
**********************************
>Thanks Sergey.
>
>>>I'd like to know what would be the way to force a pause after execution of a command.
>>>
>>>I want to send emails in batch of for example 20. So after sending 20 emails I'd like my application to pause for half on a second. I know that I could use inkey but it's not good enough in making sure that the app will really pause.
>>
>>
>>DECLARE Sleep IN WIN32API Long dwMilliseconds
>>=Sleep(500)
>>