🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #489

F10 not working with Playsound

#489
From: David Andrus
Date: Mon, 21 Jun 2004 07:17
11 lines
1403 bytes
I've written a program that allows different sounds to be mapped to
various keys on the keyboard so that when you press a key the sound
plays using PlaySound().

My problem is this: I'm using OnKeyDown to handle the user pressing
the 'F' keys.  All of the keys work fine except for F10.  When you
press F10 the program halts until you press the 'z' key which has all
of PlaySound's options set to NULL.  This occurs even when there is no
sound mapped to F10.  I have tried copying code that I know to be
working from the other F keys and F10 just doesn't want to work right.
 Does anybody know what might be going on here?
Technical Details
Message-ID: <2502fbb6.0406202317.4ce84c86@posting.google.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,e1f81e304dc3be83,start
X-Google-Attributes: gid10d0fc,public
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail
From: uvsc_wolverine@yahoo.com (David Andrus)
Newsgroups: borland.public.cppbuilder.multimedia
Subject: F10 not working with Playsound
Date: 21 Jun 2004 00:17:39 -0700
Organization: http://groups.google.com
Lines: 11
Message-ID: <2502fbb6.0406202317.4ce84c86@posting.google.com>
NNTP-Posting-Host: 4.10.241.221
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1087802260 3450 127.0.0.1 (21 Jun 2004 07:17:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 21 Jun 2004 07:17:40 +0000 (UTC)