Why does Windows do not provide more flexible API for Shell Context Menu Handlers?

Recently, I came across an interesting situation. My PC (XP SP2) was making some calculations. CPU activity was high. I was surfing through my folders and clicked on one of them using right button of the mouse. The context menu appeared after 10-20 seconds … “Why does it takes so long” – I asked myself? …

Continue reading ‘Why does Windows do not provide more flexible API for Shell Context Menu Handlers?’ »

Sometimes you DO need to invent the wheels

There is a well-known approach that states ‘there is no need to re-invent the wheel’. In other words, it means that if you decided to implement some functionality in your program, you should googlize to make sure it’s not implemented by other people and if it is then just use it and don’t waste the …

Continue reading ‘Sometimes you DO need to invent the wheels’ »

OllyDbg, Windows XP SP2 (32-bit) and Kaspersky Antivirus

I use OllyDbg debugger from time to time. The most wonderful debugger I ever seen: it’s light, powerful and does not require installation … This evening I got a few BSOD’s on my Windows XP SP2 after running OllyDbg. So I started the investigations. Analyzing minidump using WinDbg showed that system went down because of …

Continue reading ‘OllyDbg, Windows XP SP2 (32-bit) and Kaspersky Antivirus’ »

Finally Microsoft implemented InternetReadFileExW function …

Some time ago I was surprised when noticed that UNICODE version of WinInet function InternetReadFileEx is not implemented. Disassembling wininet.dll gave me the following results: .text:000007FF7D0D16A0 ; InternetReadFileExW proc near .text:000007FF7D0D16A0 sub rsp, 28h .text:000007FF7D0D16A4 mov ecx, 78h .text:000007FF7D0D16A9 call cs:SetLastError .text:000007FF7D0D16AF xor eax, eax .text:000007FF7D0D16B1 add rsp, 28h .text:000007FF7D0D16B5 retn .text:000007FF7D0D16B5 InternetReadFileExW endp So …

Continue reading ‘Finally Microsoft implemented InternetReadFileExW function …’ »