Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find the declaration of HOST_E_CLRNOTAVAILABLE (type HRESULT) constant?

Tags:

c++

c#

clr

msdn

Could anyone, 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.

like image 976
khkarens Avatar asked Aug 08 '11 09:08

khkarens


2 Answers

Those codes are in CorError.h. Just #include <corerror.h> and they'll be available.

like image 81
eran Avatar answered Nov 19 '22 14:11

eran


They are defined in corerror.h.

like image 4
Daniel Hilgarth Avatar answered Nov 19 '22 13:11

Daniel Hilgarth