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…

5

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. Sure thing,…

2

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 up with. Other places…

8

From the mail: how can I access database from C#

_______________________________________From: sandusergiu1984@….com [mailto:sandusergiu1984@….com]Sent: Fri 8/11/2006 9:20 AMTo: Eldar MusayevSubject: (Random Thoughts and Hints on Software Development) : C# CodeI thought how can I write a program in C# that searches a SQL Server database and outputs the results to the user? and couldn’t give me please some ideas, or a fragment of code? Thanks a…

1

Turning OFF AutoPlay

When you put a music CD in your computer, it starts to play. Is it cool? Probably, but not to everybody. Some people (including me) feel that it’s annoying. You put you data CD-ROM into the disk, you are sure what you want to do about it, and Windows starts to suggest to show a…

2