Tutorials and Programming Files
If you are facing some difficulties in the beginning, I think those tutorials will be helpful for you:
Changing the VGA Card Video Modes - tut01.cpp
Plotting a Pixel on the Screen (Slow Mode) - tut02.cpp
Plotting a Pixel on the Screen (Fast Mode) - tut03.cpp
Initializing and Showing the Mouse Cursor on the Screen - tut04.cpp
Loading and Showing a BMP file - tut05.cpp
Fabio's BMP Viewer (Source Code) - tut06.cpp
Fabio's BMP Viewer (Executable) - tut06.exe + tela.bmp
DirectMusic Tutorial & Source Code (Library)
This is a simple tutorial about playing MIDI files using the DirectMusic technology (DirectX 7.0). The files were tested under Watcom C/C++ 11.0 and MS Visual C/C++ 5.0 (see the readme file for more details):
Play Midi Files using Direct Music (SRC + EXE + LIB) - fdv_dmus.zip
Don't forget to download the DirectX 7.0 SDK to compile the source code!