MSDN says: Building DirectMusic Projects
Projects need to include the Dmusici.h header file, which contains declarations for the DirectMusic performance layer.
Yeah! Once in a lifetime, Microsoft did something easy to use and clearly explained! Let's download the tiny SDK and just do it!
#include <Dmusici.h>
int main(int argc, char *argv[])
{
return 0;
}
Here's the result:
warning: "MAKEFOURCC" redefined
warning: this is the location of the previous definition
error: declaration of `WLOOP _DMUS_REGION::WLOOP[1]'
error: changes meaning of `WLOOP' from `typedef struct _rloop WLOOP'
make.exe: *** [main.o] Error 1
Well.. GG! I'm tired after ONE line of code!
Ok, forget 'bout DirectMusic.