I've got a problem when I try to debug my program using the VS2012 debugger. I've got the following issue when I try to run TestCooperativeLevel():
Note that soundState() simply changes the pause state of some sounds (using functions in the irrKlang library). Even if I remove the soundState() line, the same exception is thrown. The problem doesn't prevent my game from running on my Win7 laptop, but it causes an outright crash when I run it on my XP computer. Any ideas what could be causing the exception?