COM, BSTR or _bstr_t is leaking memory

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 …

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 …

Setup Project shows ‘WARNING: Could not find prerequisite’ under Visual Studio 2010

Visual Studio Installer (MSI) warning: WARNING: Could not find prerequisite ‘.NET Framework 2.0 (x86)’ in path ‘C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\’ or WARNING: Could not find prerequisite ‘.NET Framework 2.0 (x86)’ in path ‘C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\’ The result is that automatic downloading of prerequisites does not work any more. This is caused by fact, that Visual …