[Qt-interest] Win64 declaration of Sleep()?
Constantin Makshin
dinosaur-rus at users.sourceforge.net
Fri Jan 2 13:38:37 CET 2009
It's absolutely the same both in 32-bit and 64-bit versions of Windows.
On Fri, 02 Jan 2009 13:15:42 +0300, Robert Hairgrove
<evorgriahr at hispeed.ch> wrote:
> In one of my Qt projects, I have this declaration since I am not
> including any Win32 headers:
>
> #ifdef Q_OS_WIN32
> extern "C" void __stdcall Sleep(quint32);
> #endif
>
> It helps to avoid some problems with timing WRT file creation under
> Windows. With Linux and Mac, I have been told it is not an issue.
>
> How would this have to be declared on 64-bit Windows OS?
>
> Thanks.
--
Constantin "Dinosaur" Makshin
More information about the Qt-interest-old
mailing list