Article View: borland.public.cppbuilder.multimedia
Article #1324EMCIDeviceError...MMSYSTEM296 - Midi file corrupt
From: Jim Davis
Date: Wed, 04 Apr 2001 04:40
Date: Wed, 04 Apr 2001 04:40
22 lines
1768 bytes
1768 bytes
I have a 257===TMediaPlayer::Error problem . First funny thing is that -12===TMediaPlayer::Mode ! Well, bcb4vcl.hlp implies 0 thru 6 . But we can live with that . Second funny thing (and apparently my real problem) is that , after the error , it seems TMediaPlayer::OnNotify gets triggered again and again and again ..... ? Resulting in the cascading "No MCI device open" messageboxes ? Perhaps I need (MPlayer->Notify = false) more places ? > In Win98, with BCB4, I'm using TMediaPlayer to play midi files. > In debug mode , > all is well until I happen upon a corrupt midi file , > then Message Box "EMCIDeviceError...MMSYSTEM296...file...corrupt", > then an Exception , which brings up the debugger > at the line after Mplayer->Open() ... > > Running the app outside of BCB4 , > I get a never ending cascade of "MCI device not open" Message Boxes .
Technical Details
Message-ID:
<3ACAA5D7.1ED1FA77@verizon.net>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!logbridge.uoregon.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,c92bbefd0bdb509f,start
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2001-04-03 21:56:05 PST
Message-ID: <3ACAA5D7.1ED1FA77@verizon.net>
Date: Tue, 03 Apr 2001 21:40:55 -0700
From: Jim Davis <jim.davis51@verizon.net>
Organization: Beehive Enterprises
X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Verizon Online} (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.multimedia
Subject: EMCIDeviceError...MMSYSTEM296 - Midi file corrupt
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 63.27.108.34
X-Trace: dnews 986359159 63.27.108.34 (3 Apr 2001 21:39:19 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!logbridge.uoregon.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews