Board index » cppbuilder » MCI problem

MCI problem


2003-09-17 07:47:29 PM
cppbuilder89
Hi,
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
 
 

Re:MCI problem

"Pawe? < XXXX@XXXXX.COM >wrote in message
Quote
I use MCI to record wave
<snip>
Please do not cross post. It is against Borland's newsgroup guidelines
(www.borland.com/newsgroups). Only post questions to the single most
appropriate group. Your question has been addressed in the .nativeapi
group, which is the apppropriate group for this type of question.
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03