Board index » cppbuilder » MCI problem
![]() CBuilder Developer |
MCI problem2003-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 |