FIX: An access violation may occur when you create multiple instances of the Microsoft DV Encoder (872901)



The information in this article applies to:

  • Microsoft DirectX 9.1 Software Development Kit Update

SYMPTOMS

When you write an application that has multiple instances of the Microsoft DV Encoder, an access violation may occur.

CAUSE

The Microsoft DV Encoder is not designed to support multiple instances. If one instance of the encoder is processing a frame and the second instance tries to process a frame, the problem may occur.

RESOLUTION

To resolve this problem, download and run the DirectX9-KB872901-x86-ENU.exe file.

The following file is available for download from the Microsoft Download Center:
DownloadDownload the DirectX9-KB872901-x86-ENU.exe package now.

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version       Size  File name
   -------------------------------------------------
   14-Jul-2004  20:56  6.5.1.904  270,848  Qdv.dll          

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Although the problem can occur on any system, the problem occurs more frequently on multiprocessor systems.

We do not recommend that you create two instances of the Microsoft DV Encoder inside the same process. Instead, we recommend that you build a filter graph that contains one instance of the Microsoft DV Encoder, and then use another filter, such as the Infinite Tee filter, to split the stream to the appropriate outputs.

Modification Type:MajorLast Reviewed:7/26/2004
Keywords:kbfix KB872901 kbAudDeveloper