Very strange. Well, you could try launching it on a different thread, but I
suspect that will have the same trouble. It's worth trying, though.
I don't know the exact steps to contact Microsoft support, but
http://support.microsoft.com seems to be a good place to start.
> My code is tested thouroughly in house and by customers who already use
> product for a couple of years, so that shouldn't be the problem. I tested
> the program for memory leaks, writing to invalid memory, etc, but that's
> the problem.
> I think launching a separate process for each stream is not an option,
> because that means that I have to start my application for every stream I
> want to compress.
> Can it also be sufficient that I launch each encoding session in a
> What is the best way to contact MS support about this problem?
> > What you're describing _should_ work, so it must be some sort of bug,
> > in your code or in the WMF SDK code itself. The first thing to do is to
> > check your code and be sure everything is functioning as planned.
> > If your code looks all right, you could either contact MS support to get
> > more help, or try to workaround the problem. A quick workaround that I
> > think of would be to launch a new process for each encoding session.
> > Geoff
> > --
> > This posting is provided "AS IS" with no warranties, and confers no
> > > I posted this message earlier, but I got no answer. Is there anybody
> > MS
> > > who knows this?
> > > Hi there,
> > > I am writing an audiologging application which can continuously record
> > from
> > > multiple audio inputs, and it can also write to multiple different WMA
> > > formats. For this application I use the WMFSDK 7.1.
> > > Everything goes OK when the bitrates for all channels are the same
> > > application runs for weeks and weeks and weeks and weeks, it just
> > > crash).
> > > But my application has the possibility to select different WMA
> > > (bitrate, samplerate, mono/stereo) for different audio inputs.
> > > My problem is that when I mix up different bitrates, or when I mix up
> > > and stereo in different channels, the application crashes within about
> > > hours.
> > > I already debugged the application to see if there is a bug in my own
> > source
> > > code, but when it crashes, an access violation occurs in one of the
> > > Dll's, and not in my own source code.
> > > So my question is: Do you have some tips about mixing up different WMA
> > > bitrates/samplerates in multiple encoding sessions in 1 application,
> > > it just not recommended to do this?
> > > Greets,
> > > Dirk Groot