Article View: borland.public.cppbuilder.nativeapi
Article #13836What is wrong with MCI
From: Pawe�
Date: Wed, 17 Sep 2003 11:37
Date: Wed, 17 Sep 2003 11:37
12 lines
1359 bytes
1359 bytes
I use MCI to record wave, first open, then record, and at the a would like
to save a file in a seperate thread, not to "waste" time for saving
void __fastcall TMyThread::Execute()
{
DWORD dwReturn = mciSendCommand(Form1->wDeviceID, MCI_SAVE,
MCI_SAVE_FILE | MCI_WAIT, (DWORD)(LPVOID) &Form1->mciSaveParms);
}
but unfortunately it doesn't work, it returns error "303", why? what should
I do to save "wave" in seperate Thread?
thanks
Technical Details
Message-ID:
<3f68480b@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,b63935a6d6bc6af1,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-17 05:10:15 PST From: "Pawe�" <kenya@wp.pl> Newsgroups: borland.public.cppbuilder.nativeapi Subject: What is wrong with MCI Date: Wed, 17 Sep 2003 13:37:57 +0200 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 62.29.179.102 Message-ID: <3f68480b@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063798795 62.29.179.102 (17 Sep 2003 04:39:55 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail