Tag Archives: VC++

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 … Continue reading

Posted in Computers, OS, Programming | Tagged , , , | 1 Comment

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 … Continue reading

Posted in Programming, Web | Tagged , , , , , , , , , , , | Leave a comment

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 … Continue reading

Posted in Programming | Tagged , , | 6 Comments

It seems that _SECURE_SCL_THROWS is deprecated in Visual Studio C++ 2010

It seems that _SECURE_SCL_THROWS is deprecated in Visual Studio C++ 2010. Because include file ‘Microsoft Visual Studio 10.0\VC\include\yvals.h’ has the following code block: #if _SECURE_SCL_THROWS #ifndef _SILENCE_DEPRECATION_OF_SECURE_SCL_THROWS … #undef _SECURE_SCL_THROWS #pragma _CRT_WARNING( _DEPRECATE_SECURE_SCL_THROWS ) … It gets undefined, and if … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Free (Open Source) C++ Profiler for Visual Studio 2008

Visual Studio 2008 Pro does not ship with native profiler. Only Team edition does. Sleepy is a C/C++ CPU profiler for Windows systems. Very Sleepy is improved version with Threading support and much more. Thanks to codersnotes.com, Richard Mitton, Nicholas … Continue reading

Posted in Programming | Tagged , | Leave a comment

STL breaks after installing Microsoft Security Advisory 973882

After installing through Microsoft Update Vulnerabilities in Microsoft Active Template Library (ATL) Could Allow Remote Code Execution STL broke with the following error: c:\program files\microsoft visual studio 9.0\vc\include\xutility(2764) : error C3861: ‘_Swap_adl’: identifier not found Most probably, this is caused … Continue reading

Posted in Programming | Tagged , , | Leave a comment