XAudio2Create (CoCreateInstance) returning undocumented error. How do I fix?

I've been working on a sound engine using XAudio2.

On my development computer everything works.
    (AMD FX08350, with a Sound Blaster X-Fi Xtreme Audio card, running Windows 7 64-bit and using DirectX 11.  Code::Blocks, TDM MinGW, and DirectX SDK installed.)

When I move the program to a different computer (Intel core i5-3470, on-board sound card, running Windows 7 64-bit and using DirectX 11) I get an HRESULT of 0xFB06A210 from XAudio2Create (which redirects to CoCreateInstance).

Looking at HRESULT, this has an S,R,C,N,and r of 1, a Facility of 0x0306, and a code of A210.  I can't find any information on what this means or how to get XAudio2 to work on the test computer?

Can anyone help me?
LVL 1
MadDavidAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sarabandeCommented:
you may search for the class id passed to CoCreateInstance in your local registry (probably below HKLM\Software\Wow6432Node). if there are entries, you could check whether those entries also exist on the second computer.

also check event viewer (eventvwr) whether there is more information when the error occurred.

Sara
MadDavidAuthor Commented:
I figured it out.
And sorry, I could slap myself.  But to be fair, I would have to slap everyone involved in this at Microsoft.

I forgot (or didn't realize in the first place) that XAudio2 does not come with DirectX 11 on Windows 7.  You have to install it.

So a return of 0xFB06A210 from CoCreateInstance() must amount to "The requested interface is not available on this computer," which seems like something that would be important to document.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.