Article View: borland.public.cppbuilder.nativeapi
Article #1335Re: Console applicaton and sleep()
From: Andre Steenveld
Date: Tue, 18 Sep 2007 20:05
Date: Tue, 18 Sep 2007 20:05
14 lines
1491 bytes
1491 bytes
Ed, > __declspec(dllimport) > extern "C" > void __stdcall Sleep(unsigned long millisec); Almost did the trick. I had to use `extern' in stead of `extern "C"'. Afther that there were no more problems. Just thinking how you got the information. Did you catch the preprocessor output? Maybe I can use that trick the next time too. Thanks. Andre Steenveld.
Technical Details
Message-ID:
<46f02fa4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46f01013@newsgroups.borland.com> <46f01e08$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,12ae2dc26e53d1eb X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Andre Steenveld" <a.steenveld@id.umcn.nl> Newsgroups: borland.public.cppbuilder.nativeapi References: <46f01013@newsgroups.borland.com> <46f01e08$1@newsgroups.borland.com> In-Reply-To: <46f01e08$1@newsgroups.borland.com> Subject: Re: Console applicaton and sleep() Date: Tue, 18 Sep 2007 22:05:46 +0200 Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6000.16480 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16480 NNTP-Posting-Host: 77.251.117.105 Message-ID: <46f02fa4$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1190145956 77.251.117.105 (18 Sep 2007 13:05:56 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail