Browse by Tags

Tagged Content List
  • Blog Post: A lot of HRESULT codes...

    Just found a huge list of HR codes... BTW, let me explain the type of information I publish here. It's not exactly a blog, it's rather a public notebook, where I put the stuff I want to be at hand, and if somebody else will find it useful, so better! And yes, I know, there is error lookup in Visual Studio...
  • Blog Post: Ghosts and ghouls in your server: 0x80004015 -- NT Service out-of-body experience

    Authors in the New Age genre like to quote so called out-of-body-experience like memories of people who survivedd clinical death, tunnel with the light in the end and so on. Today I found that this is not a purely human phenomena... Suppose you wrote an NT service and implemented a COM object inside...
  • Blog Post: How to call C++ DLL from ASP.NET (C#) code?

    The problem: normally, you use DLLImport and P/Invoke. However, it only works if DLL is loaded. For normal program you can put it into the same folder as managed executable, and everything will be just fine. Not for ASP.NET, which is compiled into an obscure location, which you would not want to mess...
  • Blog Post: COM proxy stub dll and why do you need it

    Let’s start from the end, after all ordering of posts on a blog make it natural. Please, notice that this post is rather for people starting writing COM, veterans would find it pretty evident. On another hand, remembering all the small details may be bothersome, so I decided to push it to the blog as...
  • Blog Post: ...and few more COM HRESULT from class factories and cocreation...

    REGDB_E_KEYMISSING 0x80040152 Could not find the key in the registry REGDB_E_INVALIDVALUE 0x80040153 Invalid value for registry REGDB_E_CLASSNOTREG 0x80040154 Class not registered REGDB_E_IIDNOTREG 0x80040155 Interface not registered REGDB_E_BADTHREADINGMODEL...
  • Blog Post: Common COM HRESULTs...

    It's so annoying to look for HRESULT codes... I remember some, but not all. So, why not to list them here? At least they will be easy to find. Well, actually it's easy in VS too -- the codes are declared in WinError.h, it's just it is never opened and hard to open with one click. So, here they are...
Page 1 of 1 (6 items)