Hello,

i don't think i could be using a debug version of DirectX, because i never had the DirectX SDK in this computer...
i'm not sure how to check the directX debug settings...
i checked the directX diag tool, the directX version sais DirectX 9.0c (4.09.0000.0904), all the directx files say 'commercial' under attributes, and all the directX tests pass (direct3D, directDraw, directSound and DirectMusic).

what worries me the most is the message on the output window that sais
"Access violation writing location 0x000000".
This happens with the test code above, so the problem can't be in my code, right?
could it be something wrong with my directX installation that the diag tool didn't catch? or with my Media Player installation?

Thanks for your help,
Filipe