Logging Errors
[This API is not supported and may be altered or unavailable in the future.]
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.
- Overview of Error Logging
- Creating an Error Logging Class
- Implementing IAMErrorLog
- Setting the Error Log
- DES Error Logging: Example Code
Related topics
Send comments about this topic to Microsoft
Build date: 11/21/2012