views:

467

answers:

1

I have an instance of a WMEncoder class THis is .NET so basic interop , what I mean is the WMEncoder is actually generated by the runtime like so namespace WMEncoderLib { [Guid("632B6081-BBC6-11D2-A329-006097C4E476")] [CoClass(typeof(WMEncoderClass))] public interface WMEncoder : IWMEncoder2, _IWMEncoderEvents_Event { } }

anyway on release builds only and on Vista only

When I do this encoder = new WMEncoder(); ta da the application crashes and dies I have the code wrapped in a try catch but to no avail Anyone seen anything like this This is media series 9

A: 

I have a laptop with an ATI graphics card and it works fine after installing patch KB929182 for windows media encoder on vista.

The patch fails to install on laptops with nvidia graphics cards which means I still have the same issue. Despite catching all exceptions on the new WMEncoder(); call it just blows up!! From what I have read it is to do with the difference in nvidia drivers for laptops vs desktops. Still to be confirmed though.

Please let me know if you resolve this isse as it is causing me no end of grief!