TextOut prints a little late?



Inside a function I have a Sleep() in between 2 TextOut() calls. When
I call the 1st one I expect it to print immediately before Sleep() is
executed; but instead I get the output of both calls at the same time
after the Slee() and after the funtion has exited...!

Why does this happen?

What is the proper way to print immediately?

--deostroll

.



Relevant Pages

  • Re: Just now...
    ... Missing sleep on its own isn't going to do it. ... and you need to take several to get a proper result. ... The only use I've found for them is measuring how much my ... useful for telling whether someone is of general low ability or they have ...
    (uk.people.support.depression)
  • Re: hplip setup problems
    ... Yes, of course sleep() works. ... But I am looking for the *proper* way to fix ... If the driver, libusb and hplip are acting properly, then perhaps the ...
    (freebsd-questions)
  • Re: Nottingham tram news
    ... and have a day off to recover, given that even in business class I ... won't get a proper night's sleep. ...
    (uk.railway)
  • Re: I hate update!
    ... printer do talk if the software is proper. ... looked with lpq and the files qued to be printed are remaining ... goes back to sleep. ... After futzing for about one minute, and seeing something similar to what Karl describes, I just deleted the jobs, deleted the printer, and reinstalled it. ...
    (Fedora)
  • Re: What do you call the stuff forming at the corner of our eyes at night?
    ... in BrE it's 'sleep' (noun, ... I never knew it had a proper name. ...
    (alt.usage.english)