Microsoft DirectX 8.1 (C++) |
The DirectMusic and DirectSound dynamic-link libraries (DLLs) installed with the debug version of the DirectX software development kit generate information in the debug output window as the application is running. By default, all available information is shown. These DLLs are available if you installed the debug version of the DirectX SDK. For DirectMusic, they can be dynamically selected through the DirectX property sheet in Control Panel by choosing Use Debug Version of DirectMusic.
For DirectMusic, you can control the volume of information that goes to your debug output window by changing values in Win.ini. The output for each DirectMusic DLL can be set separately, as in the following example:
[Debug]
DMBAND=1
DMCOMPOS=1
DMIME=1
DMLOADER=0
DMUSIC=1
DMSTYLE=3
DMSYNTH=5
Each value can be in the range from -1 through 5, where -1 produces no debugging information and 5 the most detailed information. If there is no entry in Win.ini, the debug output is at level 0. You can focus on problems in a particular DLL by setting lower values for the other components.
You can also set the debug level within the range from 0 to 5 by using the Debug Output Level sliders on the DirectMusic and DirectSound pages of the DirectX property sheet in Control Panel. However, this method sets the same value for all DLLs.