Author Topic: [Solved] DirectSound Unhandled Exception  (Read 5914 times)

Offline Rushyo

  • Newbie
  • *
  • Posts: 6
[Solved] DirectSound Unhandled Exception
« on: July 18, 2009, 06:29:31 pm »
Occurs only when there are no sound devices installed. Installing a sound driver and setting it as the active Windows sound device solves the issue.

I'm not on the machine in question so I can't copy 'n paste but the end of the call stack looks like this:

SlimDX.Result.Throw[T](Args)
SlimDX.Result.Record[T](Args)
SlimDX.DirectSound.DirectSound..ctor()
AIWar.DirectSoundWrapper.Initialize(Control Parent)
AIWar.GameForm.GameForm_Load(Args)

(I really wish all games provided you with stack dumps like this...)
« Last Edit: September 25, 2009, 09:37:27 am by Fiskbit »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: DirectSound Unhandled Exception
« Reply #1 on: July 18, 2009, 08:10:09 pm »
Hi there, welcome to the forums and  thanks for your support of the game!

Thanks for reporting this error, I had not tried that particular sort of test before.  From your description, it sounds like simply installing an active sound driver is a current workaround.  I'm actually out of town right now, but I'll keep this on my list and have a failover option added in to the next release after I'm back.  Thanks!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: DirectSound Unhandled Exception
« Reply #2 on: July 27, 2009, 05:01:25 pm »
Okay, here's a new version that should fix this:  http://arcengames.com/forums/index.php/topic,494.msg2767.html#msg2767

Thanks again for your support of the game!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!