I’m looking for a way to get access to the return value of the OleCreate call made inside ActiveXControlComponent::createControl. If that function fails, it’s interesting to know why.
Would you consider either changing the signature of ActiveXControlComponent::createControl to return HRESULT? I realize this is a windows-specific type. Not sure if that’s OK. Maybe there’s another way?
Can’t return a HRESULT directly, because the juce header files never include any os-specific headers, so that type isn’t available. I guess it could return the hresult cast to an int64 though…