🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1338

Re: Console applicaton and sleep()

#1338
From: Andre Steenveld
Date: Tue, 18 Sep 2007 20:12
22 lines
1869 bytes
Hi,

> ...snip...
>>
>> Since the application is a console application I can't include 
>> <windows.h>. If I do, a load of compile errors is the result.
>
> Ed already told you how to address your issue.
And he was right.

> But, FWIW, it is possible to build a console application that includes 
> windows.h.  Whatever your compile errors are when you include windows.h, 
> they are not likely caused specifically by a console application including 
> windows.h.

Thanks for the advice. I've build a few console applications myself but
never had the need to use <windows.h>. Your sugesting that there is another
problem with my code. I need to check that out.

Kind regards,

Andre Steenveld.
Technical Details
Message-ID: <46f0318b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46f01013@newsgroups.borland.com> <46f026da@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> <46f026da@newsgroups.borland.com>
In-Reply-To: <46f026da@newsgroups.borland.com>
Subject: Re: Console applicaton and sleep()
Date: Tue, 18 Sep 2007 22:12:43 +0200
Lines: 23
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: <46f0318b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1190146443 77.251.117.105 (18 Sep 2007 13:14:03 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1721