COM, BSTR or _bstr_t is leaking memory. That was my first thought when I saw increasing number in Task Manager under memory colon for the process I am developing. Searching Google for quick answer I found famous Microsoft employee and blogger Larry Osterman’s blog post about Hey, why am I leaking all my BSTR’s? He …
Author Archives: Maris
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.