Article View: borland.public.cppbuilder.nativeapi
Article #7254Re: old functions bioskey(), sound(), nosound(), delay()
From: Bob Gonder
Date: Wed, 23 Feb 2005 17:44
Date: Wed, 23 Feb 2005 17:44
39 lines
2425 bytes
2425 bytes
Morosh wrote: >My problem is that my program use functions bioskey(), sound(), nosound(), >delay() that apparently are not supported in version 5.5. As Andrue mentioned, it's not a compiler limitation. Windows just plain doesn't support those functions in a 32bit program. >Is there an equivalent to this functions in v5.5 somewhere?? bioskey(), Depends on exactly what you want to do with it. For simple stuff (console application), use the C functions such as getch(), or the C++ cin stream. For Win32 API, see "Keyboard Input Functions" in Win32.HLP. sound() nosound(), Again, depends what you want to do. See Beep(void) in BCB5.HLP See Win API Beep(freq,duration) in Win32.HLP. See also MessageBeep() in Win32. delay() Sleep( milliseconds ) Not accurate, may be longer due to Windows task scheduling. Windows also has High Performance Timers for more accurate timing requirements, but most apps don't it. >Also is there a document somewhere describing all functions supported by the >command line bcc32, v5.5?? Maybe not as a "list", but yes... All "Standard C" functions. Also, you should have also downloaded a bunch of help files. Of particular value to me have been: TOOLS.HLP which gives the commandline options for each tool, BCB5.HLP which lists the C, STL and RW functions Win32.HLP which lists the main Windows API Functions (less-used functions, such as sockets, are found elsewhere).
Technical Details
Message-ID:
<5eep11tneoc09jc1nft5sr6lo4i0q2imm9@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<421ca569@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1df6a2e7bf507f9b X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: old functions bioskey(), sound(), nosound(), delay() Date: Wed, 23 Feb 2005 09:44:36 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <5eep11tneoc09jc1nft5sr6lo4i0q2imm9@4ax.com> References: <421ca569@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.77.146.209 X-Trace: newsgroups.borland.com 1109180676 67.77.146.209 (23 Feb 2005 09:44:36 -0800) Lines: 44 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail