im using direct sound Smile
Oops ops: I had similair probs with OpenAL so i thought you used OpenAL.

Like i and jarrod said, it has probably to do with the calling convention of one or more functions you are trying to use.