Hmmm I am still ining Direct Music. I am a first timer so please bare with me. Still leag Direct X with C++.

I said

IDirectMusicPerformance::Init (&DMusic,NULL,hwnd);

And I get an Illegal Static Member Call for the thrid argument, the HWND argument. What do I need to do to fix this? I tried setting it to NULL cause it doesn't really matter what window I give Direct Music control of because I am writing this as a Dos program. Or am I wrong? Thanks!