asiosample error CO_E_CLASSSTRING

Find topics on computers, studios and music-related hardware.
Locked
xMotherx
New Member
Posts: 1
Joined: Wed Feb 28, 2018 6:40 am
Contact:

asiosample error CO_E_CLASSSTRING

Post by xMotherx » Wed Feb 28, 2018 6:51 am

I am new to audio programming (and Windows programming) and I am trying to get the host sample to work in the 2.3 SDK but I am getting issues.

I manually edited the registry to add keys per the documentation, and I registered the asiosample.dll using regsvr32.exe but when the host sample calls CLSIDFromString and takes in the wchar hex value for the string I get the error: O_E_CLASSSTRING (0x800401F3)

I noticed that the hex for the CLSID appears to be translating my string value of the GUID. I am using the sample value of:
CLSID IID_ASIO_DRIVER = { 0x188135e1, 0xd565, 0x11d2, { 0x85, 0x4f, 0x0, 0xa0, 0xc9, 0x9f, 0x5d, 0x19 } };

which isin teh registry as: HKEY_CLASSES_ROOT\WOW6432Node\CLSID\188135E1-D565-11d2-854F-00A0C99F5D19

but the conversion appears to be converting this again because I see:

+ wData 0x0000006aa58ffa60 {0x0031, 0x0038, 0x0038, 0x0031, 0x0033, 0x0035, 0x0065, 0x0031, 0x002d, 0x0064, ...} unsigned short[0x00000064]

This seems like it's converting the value from string to hex incorrectly, I added it as a string value to the registry because I don't see a better option (GUIDS are 128 bit)

Any help is appreciated!

User avatar
Ed Doll
Site Admin
Posts: 1049
Joined: Thu May 16, 2013 11:18 am
Contact:

Re: asiosample error CO_E_CLASSSTRING

Post by Ed Doll » Wed Feb 28, 2018 7:30 am

Please discuss this in the developer forum: https://sdk.steinberg.net/
Ed Doll, Support Manager
Steinberg Media Technologies GmbH
Hamburg, Germany

Connect with Steinberg on Facebook, YouTube, Twitter, Instagram and SoundCloud!

Locked

Return to “Computer/Studio Hardware & Setup”

Who is online

Users browsing this forum: No registered users and 4 guests