[Qt-interest] Win64 declaration of Sleep()?

Scott Aron Bloom scott at sabgroup.com
Fri Jan 2 18:34:00 CET 2009


amd this has what todo with QT?
-Scott
--Sent from my mobile device--
-----Original Message-----
From: Robert Hairgrove <evorgriahr at hispeed.ch>
Date: Friday, Jan 2, 2009 2:19 am
Subject: [Qt-interest] Win64 declaration of Sleep()?
To: qt-interest at trolltech.com

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.
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list