Codexpert – 2013 Articles Summary

C++ Language and STL <filesystem> header in Visual Studio 2012 Shows sample usage of filesystem header, new to VS2012, that defines types and functions for working with files and folders. C++11 concurrency: threads An introduction to threads support in C++11. C++11 concurrency: locks A walk through the synchronization mechanism for multi-threading provided by C++11. C++11 … Read more

MFC-extension WIC File Dialogs

A previous article showed how to enumerate WIC (Windows Imaging Component) codecs, that are available in system. Now, let’s use the codecs list in order to make File Open and File Save As dialogs which are dealing with WIC-compliant image files, i.e. having “File of type” filter list according to available WIC codecs (see the images, below).   CWICFileDialog class … Read more

How to enumerate WIC codecs?

As shown in the previous article, Windows Imaging Component (WIC) comes with built-in codecs (for BMP, JPEG, GIF, PNG, TIFF, and HDPhoto image file formats). Additionally, WIC can deal with other image formats for which appropriate codecs are installed in the system. Basically, to list available WIC codecs and eventually get info for each one, … Read more