2011 links no. 1

3D Software Rendering Engine – Part I by darkoman.

Fluent CSV/XML Exporter For List by Sacha Barber allows to export / save any C# container to CSV and XML.

Push Framework – A C++ toolkit for high performance server development in Windows by Ahmed Charfeddine.

Next part in Task Parallel Library: 5 of n by Sacha Barber.

ISO C++ Committee Approves C++0x Final Draft. Standard is going to be published, to be known as C++ 2011.

Is it reasonable to use the prefix increment operator ++it instead of postfix operator it++ for iterators. Andrey Karpov about C++ iterators.

Which Version of .NET is Built into Windows? To my surprise, Windows Server 2008 have .NET 3.0 off by default.

Microsoft Mathematics (formerly Microsoft Math) is free as in beer.

What do you do for lunch every day? Where do you eat it? With whom? Joel Spolsky writes about software teams.

Invoke .NET Assembly from Native C++ Code. With examples for Visual Studio. Hosted on CodePlex.

The attackers plant their PHP scripts, similar to those I described in previously mentioned diaries. These scripts vary from simple to very advanced scripts that can automatically monitor Google trend queries and create artificial web pages containing information that is currently interested. More on Google image poisoning.

Video: How Google is protecting their Data Centers (logically and physically).

Strange file named “剐䍏塅ㅐ〰匮卙” in C:\Windows\System32\drivers

Today, looking in directory C:\Windows\System32\drivers, I found strangely named file “剐䍏塅ㅐ〰匮卙”. First thought was: it is driver form LG PC suite… I remember, that some files have Korean characters in it. However, looking closer, I found, that file is digitally signed by Sysinternals.

So it can not be a computer virus, because in that case they would need a private key form Microsoft Sysinternals.

I have a couple of programs from Sysinternals installed. So I started to google, but could no find answer easily. Here is a link to relevant discussion. Running logonsessions creates…

It talks, that file C:\Windows\System32\drivers\剐䍏塅ㅐ〰匮卙 is created by LogonSessions utility. So file really comes from Microsoft, so it is not a virus.

fatal error C1083: Cannot open include file: ‘ammintrin.h’: No such file or directory

I can not compile my C++ projects after installing ‘Security Update for Microsoft Visual Studio 2010 (KB2455033)’, see my yesterday’s post: Security Update for Microsoft Visual Studio 2010 (KB2455033) failed with Code 643.

Visual Studio 2010 shows the following error:
1>------ Build started: Project: some_project_name_i_am_hiding, Configuration: Debug Win32 ------
1> stdafx.cpp
1>c:\program files (x86)\microsoft visual studio 10.0\vc\include\intrin.h(26): fatal error C1083: Cannot open include file: 'ammintrin.h': No such file or directory
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Error is caused because file intrin.h have reference to ammintrin.h, and after this update there is no such file. Relevant fragment from intrin.h:
#if defined(_M_IX86) || defined(_M_X64)
#include <immintrin.h>
#include <ammintrin.h>

Searching Google for the answer I found only one link in Russian. Russian developer says, he have reinstalled Visual Studio. Tried to search MS Connect again, and found: Windows Update KB2455033 breaks build with missing ammintrin.h.

The workaround is to install Visual Studio 2010 SP1. Download it form Microsoft Website: Microsoft Visual Studio 2010 Service Pack 1 (Installer).

Installing service pack 1 takes some time while I am writing this blog post… 30 minutes… And Building / compiling after SP1 is successful. So installing Microsoft Visual Studio 2010 Service Pack 1 fixes this issue.

Screenshots from the process below.