Original Post
My app runs fine on Windows XP but when I try running it on Windows 7 i run into this problem: (Offcourse I had to update my DirectX first in order for the app to find DirectSound.dll) When these lines are executed: WaveFormat format = new WaveFormat(); format.Channels = ChannelCount; format.BitsPerSample = BitsPerSample; format.SamplesPerSecond = SampleRate; format.FormatTag = WaveFormatTag.Pcm; format.BlockAlign = (short)((format.Channels * format.BitsPerSample + 7) / 8); format.AverageBytesPerSecond = format.BlockAlign * format.SamplesPerSecond; bufferLength = format.AverageBytesPerSecond * BufferSeconds; CaptureBufferDescription description = new CaptureBufferDescription(); description.Format = format; description.BufferBytes = bufferLength; capture = new Capture(device.Id); buffer = new CaptureBuffer(description, capture); The application goes out with the following exception when creating the CaptureBuffer (the last line) This CaptureBuffer wasn't created using the DSBCAPS_CONTROLPOSITIONNOTIFY flag. System.ArgumentException: This CaptureBuffer wasn't created using the DSBCAPS_CTRLPOSITIONNOTIFY flag. ved Microsoft.DirectX.DirectSound.Notify..ctor(CaptureBuffer lp) There are no properties where I can specify this flag on the description object... Anybody knows how to resolve this problem???