asiosample error CO_E_CLASSSTRING

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!

Please discuss this in the developer forum: