COM “attributes are not allowed here”
I have multiple COM objects that build fine. However, I created a new source file with another COM object an I am getting “attributes are not allowed here” when I use ‘coclass”. I recently updated from Windows 10 to Windows 11 so perhaps it has to do with the Windows SDK version I am using?