mcisendstring

C# ISynchronizeInvoke Question

At the risk of sounding like a total noob, how do I implement ISynchronizeInvoke on a System.Timers.Timer? I have a class (no UI) that is making calls to mciSendString. I have a timer that is supposed to poll for the current status. All of the calls from the class work, but not the ones coming from the timers elapsed event. I've trac...

Strange error returned from mciSendString - Can anyone help ?

Hello A few months ago I added audio recording to a MFC app that I'm working on. This turned out to be easy enough and after an hour or two the code was working on my PC and on a couple of the customers test machines (one running XP the other Vista). Recently however one of their test machines was upgraded and now the recording feature ...

mciSendString cannot save to directory path

Hello, VS C# 2008 SP1 I have a created a small application that records and plays audio. However, my application needs to save the wave file to the application data directory on the users computer. The mciSendString takes a C style string as a parameter and has to be in 8.3 format. However, my problem is I can't get it to save. And wh...