CreateProcessAsUser fails on Windows XP with System error 233

Today I fixed one bug that was very hard to reproduce. Many hours were spent to figure out what combination caused it: It happens only on Windows XP (not on Vista, Server 2003, 2008, Win 7); It does not happens on all Windows XP, because it is Race condition; I was unable to reproduce it …

Microsoft’s PowerShell hangs when output is captured using Windows API

I was debugging a program that uses Windows API (Creating a Child Process with Redirected Input and Output) to capture stdout of Microsoft’s Windows PowerShell. Script passed to PowerShell (-File switch) didn’t execute and PowerShell just hanged until killed by Task Manager. It turns out that you need to use undocumented parameter “-InputFormat none”: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe …

2011 links no. 2

Stack Overflow profiler open sourced: Profiling your website like a true Ninja. Smaller is Faster (and Safer Too). Chrome team have just started using a new compression algorithm called Courgette to make Google Chrome updates small. Read more. Ask Amir Taaki About Bitcoin. From Slashdot. The Four Stages of NTFS File Growth from Windows Server …