Help on mciSendString "save" !!!
Posted on 1998-05-28
I'm writing a wave audio app and it work properly for everything except that I try to save as a new file using the following code :
wsprintf(ach, TEXT("save zyzthing \"%s\""),(LPSTR)fileName);
mcierr = mciSendString(ach, NULL, 0, NULL);
Yes, the code work, but the saved wave file can't be recorded !!!
And I also try to rewrite the command string as " save pathname",the saved wave file though can be recorded, this code only work for the path without space!!! That is it can't work for path like "c:\program files\test.wav" !
What is the problem and how to modify it !!!