XNA Creators Club Online
Page 1 of 1 (1 items)
Sort Posts: Previous Next

Windows - Bad Image error when using MediaPlayer

Last post 09-01-2008 7:11 PM by Zoozooka. 0 replies.
  • 09-01-2008 7:11 PM

    Windows - Bad Image error when using MediaPlayer

    Hey all,

    I am trying to play a song using MediaPlayer. I am running it in the Update method, like so:

    if (currentGamePadState.Buttons.Start == ButtonState.Pressed &&  
        oldGamePadState.Buttons.Start == ButtonState.Released)  
    {  
        MediaPlayer.Play(song);  
        songStartTime = gameTime.TotalGameTime.TotalSeconds;  

     However, when I try to do it, a lot of the time (but not all) I get a Windows - Bad Image error message. The message reads "Exception Processing Message 0xc000007b Parameters 0x7652023C 0x7652023C 0x7652023C 0x7652023C". Also, I am using Vista, if that's a problem. Anyway, If anyone can help or give and input, that would be great. Thanks.

    I work for Him, in His government, as an agent, of grace.
Page 1 of 1 (1 items) Previous Next