CetinBasoz wrote: | |
If waiting would solve your problem you can use Sleep API or a do while..enddo. ie:
declare Sleep in win32API integer milliseconds Sleep(100)
lnStart = datetime() do while datetime() - m.lnStart < 0.1 enddo
|
|
I already have exactly the same code. But in this case (DO WHILE...ENDDO) and without INKEY(.1) MSWinsock in COM dll doesn't receive enough time( ), so simply doesn't work. That's why I'm asking so stupid (on the first look) question.
About Sleep: Sleep pauses CURRENT thread on the specified number of milliseconds, so fox doesn't work at this time at all
|