Windows Programming

Here is my list of good reads from May: Non-Ownership and Generic Programming and Regular types, oh my! Using C++17 std::optional Error Handling and std::optional std::accumulate vs. std::reduce How to Make SFINAE Pretty – Part 1: What SFINAE Brings to Code How to Make SFINAE Pretty – Part 2: the Hidden Beauty of SFINAE How…

Read More May good reads

curl is a project containing a command line tool and a library that can be used to transfer data using a variety of protocols, including, of course, HTTP and HTTPS. The library API is written in C, but there are various C++ wrappers on top of it. One of those is curlcpp. In this article, I will show how to build these libraries for Windows with Visual Studio.

Read More Using the curl library from C++ on Windows

You may have multiple versions of the .NET framework installed and used on your machine. The framework has two components: the set of assemblies that provide functionalities for your application, and the common language runtime (CLR) that handles the execution of the application. These two components are versioned separately. If you what to see what…

Read More How to determine what CLR versions are installed using C++

Visual Studio 2017 has been officially launched today. The release notes contain a summary of all the changes available in the new version. This post is focused on the changes for C++ development. The Visual C++ team has released a series of blog posts to document some of the new features. Here is a list…

Read More What’s New in Visual Studio 2017 for C++ Development

I recently encountered a problem creating new logins with SQL Server. Something that has worked for years suddenly stopped with the following error: Password validation failed. The password does not meet Windows policy requirements because it is too short. Since SQL Server was using Windows local security policy I went and checked that at Security…

Read More Changing Windows password complexity requirements

Visual Studio “14” CTP ships with a refactored C Runtime. The first thing you’ll notice is that msvcrXX.dll has been replaced by three new DLLs: appcrtXX.dll, desktopcrtXX.dll and vcruntimeXX.ddl (where XX stands for the version number so in this version it’s appcrt140.dll, desktopcrt140.dll and vcruntime140.dll). You can see in this image that both desktopcrt140.dll and…

Read More CRT Refactored in Visual Studio “14”

My first Windows Store app (for Window 8.1) is now available in Windows Store. It’s called Your Chemical Name and shows names (and text) using chemical elements symbols in the Breaking Bad style. The application allows to: customize the appearance of text, colors, background customize the position of the text on the background save image…

Read More You Chemical Name – My First Windows Store App

Windows 8 features a Settings charm to display both application (the top part) and system (the bottom part) settings (you get it from swiping from the side of the screen). The system provides two entry points, Permissions and Rate and Review, the later only for applications installed through the store. You can customize the settings…

Read More Working with the Settings Charm for Windows 8.1 Store Applications