CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2001
    Location
    germany
    Posts
    772

    Pausing execution of a program(URGENT!!!!)

    Hi there,

    I am trying to pause the execution of my program for some milliseconds but I don't find a command for that (like Sleep(xx ms) in Visual C++). Can someone help me?

    Please rate if it helps!

    * The second mouse gets the cheese.

    * Birthdays are good for you. The more you have, the longer you live.

    * Always keep your words soft and sweet, just in case you have to eat them.

    * Always read stuff that will make you look good if you die in the middle of it.

  2. #2
    Join Date
    Jun 2001
    Location
    Jonquière, Québec, Canada
    Posts
    73

    Re: Pausing execution of a program(URGENT!!!!)

    Try this API :

    Declare Sub Sleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds As Long)



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured