What / Where is the value of E_CLR_ALREADY_STARTED?

The docs for ICLRRuntimeHost :: SetHostControl claim that it can return E_CLR_ALREADY_STARTED. I could not find a definition for this value. Ideally, I would like to know what the corresponding header should include (it does not seem to be in corerror.h), but if someone can provide me with a canonical value, I can handle it too.

thank

+3
source share
1 answer

I, too, cannot find it, and I usually am well versed in missing or in error. You can try calling the method after initializing the CLR, and if it really returns the HRESULT that it documented for the return, you can simply trace it. But it definitely looks like a documentation error.

+1
source

Source: https://habr.com/ru/post/1725873/


All Articles