🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problem with waveInReset or waveInClose

#8689
From: Mark Jacobs
Date: Mon, 27 Sep 2004 13:32
18 lines
1796 bytes
Found it! From Seyedorf on Games newsgroup
(http://www.gamedev.net/community/forums/topic.asp?topic_id=40073) :-

"Be careful that when you call waveInReset it will generate another WIM_DATA
message which may mess up things."

I now check my "closing" flag when I enter my callback routine, and return
immediately if it's true. This stops the hanging. Great!
-- 
Mark Jacobs

"Mark Jacobs" <http://www.jacobsm.com/mjmsg.htm?Borland%20Newsgroup> wrote in
message news:41580c18$1@newsgroups.borland.com...
| After doing some MM IO with waveIn, when I try to close my app under XP this
| intermittently hangs the app before it has fully closed (you can still see it
| under Task Manager) :-
|
| waveInReset(phwo); waveInClose(phwo);
Technical Details
Message-ID: <41581682$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <41580c18$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b12b71e4dd5ccef3
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mark Jacobs" <http://www.jacobsm.com/mjmsg.htm?Borland%20Newsgroup>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <41580c18$1@newsgroups.borland.com>
Subject: Re: Problem with waveInReset or waveInClose
Date: Mon, 27 Sep 2004 14:32:43 +0100
Lines: 19
Organization: DK Computing
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
NNTP-Posting-Host: 81.86.186.94
Message-ID: <41581682$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1096291970 81.86.186.94 (27 Sep 2004 06:32:50 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail