Sign in to follow this  
Dynamo_Maestro

Solved - SharpDX - XAudio error in windows 8

Recommended Posts

Dynamo_Maestro    769

This error doesn't happen in Win 7 and seems to only occur in Win 8 when debug flags are used. I have updated SharpDX libraries too and rebuilt but still have the issue.

 

A first chance exception of type 'SharpDX.SharpDXException' occurred in SharpDX.dll

An exception of type 'SharpDX.SharpDXException' occurred in SharpDX.dll but was not handled in user code

Additional information: HRESULT: [0x80040154], Module: [Unknown], ApiCode: [Unknown/Unknown], Message: Class not registered

 

This occurs when creating the XAudio device using the following code

xAudioDevice = new XAudio2(xAudioDebugFlags, ProcessorSpecifier.DefaultProcessor);

Using the default constructor doesn't give any errors however I want debug flags on so I use this. I have messed around a bit with flags / processor specifier and the error occurs when "XAudio2Flags.DebugEngine" is used. This is a normal desktop app and I have no other issues with running and for what it's worth no COM issues of my own, assuming this is a COM issue.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this