Microsoft DirectX 9.0

Logging Errors

Microsoft® DirectShow® Editing Services (DES) provides a built-in mechanism for logging errors that occur when loading, constructing, or rendering a DES project. This article presents a sample console application that loads an XML project file and attempts to render it. If an error occurs, the application prints an error message in the console window. The sample code presented in this article builds on the example given in Loading and Previewing a Project.

Note   Your application is not required to implement error logging. DES does not log errors unless you explicitly request it.

This article assumes that you understand COM client programming and the DES timeline model. In addition, you need to understand the basics of COM object programming. For information about timelines in DES, see The Timeline Model.

This article contains the following sections.