Where can I find the declaration of HOST_E_CLRNOTAVAILABLE (type HRESULT) constant?
Could any开发者_C百科one, please, help me to find the header file, which contains the declaration of HRESULTs returned by ExecuteInDefaultAppDomain()
function. The compiler doesn't see the values documented in MSDN: HOST_E_CLRNOTAVAILABLE
, HOST_E_NOT_OWNER
etc. Note, that <MSCorEE.h>
is included.
Those codes are in CorError.h. Just #include <corerror.h>
and they'll be available.
They are defined in corerror.h.
精彩评论