Return-Path: Delivered-To: new-httpd-archive@hyperreal.org Received: (qmail 21727 invoked by uid 6000); 16 Oct 1999 22:02:13 -0000 Received: (qmail 21720 invoked from network); 16 Oct 1999 22:02:11 -0000 Received: from fwns2d.raleigh.ibm.com (HELO fwns2.raleigh.ibm.com) (204.146.167.236) by taz.hyperreal.org with SMTP; 16 Oct 1999 22:02:11 -0000 Received: from rtpmail01.raleigh.ibm.com (rtpmail01.raleigh.ibm.com [9.37.172.24]) by fwns2.raleigh.ibm.com (8.9.0/8.9.0/RTP-FW-1.2) with ESMTP id SAA30336 for ; Sat, 16 Oct 1999 18:01:48 -0400 Received: from chosondo.raleigh.ibm.com (chosondo.raleigh.ibm.com [9.37.73.195]) by rtpmail01.raleigh.ibm.com (8.8.5/8.8.5/RTP-ral-1.1) with ESMTP id SAA20626 for ; Sat, 16 Oct 1999 18:01:52 -0400 Date: Sat, 16 Oct 1999 18:01:52 -0400 (EDT) From: Ryan Bloom To: new-httpd@apache.org Subject: Re: _getch (Win32) In-Reply-To: <005e01bf1820$8dafec00$4600a8c0@bluprints.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: new-httpd-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org > In general.h I see : > > #ifdef WIN32 > #include "apr_win.h" > #include > #else > #include "apr_config.h" > #endif You missed #ifdef HAVE_CONIO_h #include #endif Change the _h to _H and define this in your project. I'll fix it for real tomorrow or Monday, depending on when I go to the office. > > should we use the Win32 api conio.h to get _getch in there ? > -or- > is it just a bad choice of function. stdio.h includes getchar(). Don't they behave the same way ? _getch will work, just make the mods I specified above. I don't know offhand why we cose _getch, I just know we did. :) > Which are the correct ones, those with const char* ? Yep. Ryan _______________________________________________________________________ Ryan Bloom rbb@raleigh.ibm.com 4205 S Miami Blvd RTP, NC 27709 It's a beautiful sight to see good dancers doing simple steps. It's a painful sight to see beginners doing complicated patterns.