How to update security bulletin MS10-013 on a Windows Server 2000 box?

While updating your Windows 2000 box with latest security fixes you may get a situation where you may be stuck with the security fix MS10-013 asking you to update the latest DirectX. Basically this happens when you are doing a system update with the security patches released from Microsoft. The security update MS10-013 published on…


Few points to share about Windows Media Encoder

You may come across issues such as hang or a crash when trying to use Windows Media Encoder from a service. Say you have a COM object which instantiate Windows Media Encoder and passes this to a service. The service may do one or more of the following: a. Screen Capture b. Audio recording c….

0

WMCreateStreamForURL is called in XP and Vista but not in Windows 7

It is always possible to write our own storage system for Windows media files and make the content available to users via streaming. A possibility of doing this is to write our own source plug-in as a DLL, which should implements the Istream interface and make its presence known to the SDK using a registry…


What is the recommended way to set the resolution of a webcam using DirectShow?

Question: Why does my DirectShow based video capture application fail to set resolution for the LifeCam VX-6000/VX-3000 webcam when LifeCam software is installed in the system? Is there any way to resolve this issue programmatically? Here is the code snippet that I am using to set webcam resolution: 1: IAMStreamConfig *pConfig = NULL; 2:  3:…


You may get a crash in Windows Media Player if you register and select a plug-in implemented in a multi-threading context and if you have not marshalled the pointers correctly.

Two points to remember before you write your Windows Media Player plug-in using the WMP public interfaces. 1. WMP interfaces are not thread safe. 2. WMP’s public interfaces can be used on different threads as long as you make sure that you have marshalled the pointer correctly. You can use CoMarshalInterThreadInterfaceInStream to marshal the WMP…