Tag Archives: Visual Studio

Building OpenSSL with Visual Studio 2010 for x64 / Win64 causes error

Today I was trying to build the latest OpenSSL 1.0.1c with Visual Studio 2010. Following instructions form the INSTALL.W32, I was able to successfully build the 32-bit version. Trying the same with 64-bit (x64) version, again following the official instructions … Continue reading

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

Static code analysis for C++ for free and for Pro

Up and until Visual Studio 2010 Microsoft decided that Code Analysis tool was available only for Visual Studio Premium and Ultimate editions. I have Visual Studio 2010 Pro w/MSDN subscriptions (actually 2 of them), but can not use Code Analysis … Continue reading

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

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

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

Call to OpenFileDialog or SaveFileDialog hangs or freezes

Today I was debugging a very strange issue when call to OpenFileDialog and SaveFileDialog hanged, froze, never returned… At first I thought the problem is, that call is made from SysTray (Notification area) hidden window. However, digging deeper things got … Continue reading

Posted in Computers, Programming | Tagged , , , | 5 Comments

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

Posted in Programming | Tagged , , , | 4 Comments

Security Update for Microsoft Visual Studio 2010 (KB2455033) failed with Code 643

Yesterday tried to install ‘Security Update for Microsoft Visual Studio 2010 (KB2455033)’ via Windows update on Windows 7 Ultimate 64-bit but it failed with Code 643. Installation constantly failed with Code 643 – Some updates were not installed. Currently Google … Continue reading

Posted in OS, Programming | Tagged , , | 10 Comments

VS2010: Project not selected to build for this solution configuration

Along with everyone we are moving towards 64-bit platforms. After adding solution platform x64 under Visual Studio 2010 Configuration Manager, everything seemed ok. When building, all builds was successful except x64 Release. Here is an output: 1>—— Skipped Build: Project: … Continue reading

Posted in Programming | Tagged , , | 6 Comments

x64 C# warning – Referenced assembly ‘System.Data.dll’ targets a different processor

Using Visual Studio 2010 C# to compile .NET project for Target Platform x64, the following two warnings appears: —— Rebuild All started: Project: TestProject-64-bit, Configuration: Debug x64 —— warning CS1607: Assembly generation — Referenced assembly ‘System.Data.dll’ targets a different processor … Continue reading

Posted in Programming | Tagged , , , | 2 Comments

zlib 1.2.5 – fatal error LNK1120: X unresolved externals

When trying to link program to zlib 1.2.5 static library (zlib.lib), I got the following error: fatal error LNK1120: X unresolved externals … Version 1.1.3 worked without any problems. Without going into details, here is what I did – using … Continue reading

Posted in Programming | Tagged , , | 1 Comment

Run as administrator missing for shortcuts created by Visual Studio Setup Project

When Visual Studio 2008 / 2010 creates Setup and Deployment project (Visual Studio Installer), it misses one important feature – ‘Run as administrator’ that is available form context menu (right mouse click) for shortcuts created on Desktop and in Start … Continue reading

Posted in Programming | Tagged , , , | 2 Comments