Author Topic: Sound error crash on start up  (Read 2035 times)

Offline A_HOBO

  • Newbie
  • *
  • Posts: 2
Sound error crash on start up
« on: August 22, 2010, 03:49:07 pm »
i am getting this problem when i start up and it first happened in the middle of a game i was playing with my friend. Also I triend re installing the game still get the error and it now says it is trail
8/22/2010 12:35:53 AM (3.1.2.0Trial)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------SlimDX.DirectSound.DirectSoundException: REGDB_E_CLASSNOTREG: Class not registered (-2147221164)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.DirectSound.SoundBuffer.Play(Int32 priority, PlayFlags flags)
   at AIWar.GameMusic.DataTransferActivity() in C:\vcprojs\AIWar\DX\GameMusic.cs:line 215
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
8/22/2010 1:38:36 PM (3.1.2.0Trial)
-----------------------------------CurrentDomain_UnhandledException-----------------------------------SlimDX.DirectSound.DirectSoundException: REGDB_E_CLASSNOTREG: Class not registered (-2147221164)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.DirectSound.SoundBuffer.Play(Int32 priority, PlayFlags flags)
   at AIWar.GameMusic.DataTransferActivity() in C:\vcprojs\AIWar\DX\GameMusic.cs:line 215
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
8/22/2010 1:38:52 PM (3.1.2.0Trial)
-----------------------------------Application_ThreadException-----------------------------------SlimDX.DirectSound.DirectSoundException: REGDB_E_CLASSNOTREG: Class not registered (-2147221164)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.DirectSound.SoundBuffer.Play(Int32 priority, PlayFlags flags)
   at AIWar.GameSound.Play(SoundType Type) in C:\vcprojs\AIWar\DX\GameSound.cs:line 97
   at AIWar.GameSoundGroup.Play(SoundType Type) in C:\vcprojs\AIWar\DX\GameSoundGroup.cs:line 145
   at AIWar.GameForm.PlaySound(String Filename, SoundType Type) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 2838
   at AIWar.Windows.LicenseKey.btnCancel_Click(Object sender, EventArgs e) in C:\vcprojs\AIWar\Windows\LicenseKey.cs:line 65
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Label.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
8/22/2010 1:38:58 PM (3.1.2.0Trial)

these are there errors
oh and now my sound on my comp doesnt work at all
« Last Edit: August 22, 2010, 03:56:23 pm by A_HOBO »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Sound error crash on start up
« Reply #1 on: August 22, 2010, 04:38:34 pm »
It sounds like a problem much larger than ai war; it can't mess up the zone on your entire computer, but you could get errors like this if sound on your entire computer is messed up.

My best guess would be that directx 9.0c got messed up and needs to be reinstalled -- we have an installer for that on the prerequisites sticky topic if you like.

If that's not it, then it's probably either a driver got messed up, or actual failing hardware. You probably have some error messages in your windows event log about the error unrelated to ai war -- either a directx problem, or a device failing to start.

Hope that helps!
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 A_HOBO

  • Newbie
  • *
  • Posts: 2
Re: Sound error crash on start up
« Reply #2 on: August 22, 2010, 09:59:42 pm »
got it working i guess i had to restart the comp after reinstalling derect x either way everything worked  :D

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Sound error crash on start up
« Reply #3 on: August 22, 2010, 10:01:54 pm »
Glad it was that simple! :)
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

 

SMF spam blocked by CleanTalk