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

Windows - Bad Image error when using MediaPlayer

Last post 03/07/2009 23:36 by Kie D K. 1 replies.
  • 01/09/2008 19:11

    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.
  • 03/07/2009 23:36 In reply to

    Re: Windows - Bad Image error when using MediaPlayer

    I'm getting "The application failed to initialize properly (0xc000007b)." There is nothing wrong with my coding or my build. I've even started a new project and tried getting it to make that cornflower blue screen again. It gives the same error message. I don't know if it is doing the same for you.

    I've reinstalled both XNA game studio and Visual Studio. The only thing that comes to my mind is where I installed IE7 last night. Until I restarted my computer VS and XNA worked perfectly. I'm going to try uninstalling IE7 and reinstall IE6 see if that changes anything.
Page 1 of 1 (2 items) Previous Next