DirectX SDK |
This topic pertains only to application development in C++.
The DirectMusic 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.
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 0 through 5, where 0 produces the least detailed debugging information and 5 the most. If there is no entry in Win.ini, the debug output is at level 0. You can focus on problems in a particular component by setting higher values for the other components. You can also change the debug level by using the DirectX property sheet in Control Panel. However, this method sets the same value for all DirectMusic components.
See also Debugging DirectX Applications.