2011 links no. 3

Interview With Sacha Barber in The Code Project. The ABA problem occurs during synchronization, when a location is read twice, has the same value for both reads, and “value is the same” is used to indicate “nothing has changed”. However, another thread can execute between the two reads and change the value, do other work, …

.NET Framework 2.0 is not installed on Windows 8 Developer Preview by default

.NET Framework 2.0 is not installed on Windows 8 Developer Preview by default. To install it, go to Control Panel – Programs – Turn Windows features on or off – Check ‘Microsoft .NET Framework 3.5.1’ – OK. Note, that .NET Framework 2.0 is included into version 3.5. Below are some screenshots from the installation process.

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 …