How to create a simple list view in C++ / MFC

These instructions pertain to the use of Visual Studio 2010, but barring one or two differences should be reasonably applicable to other versions of Visual Studio as well. Much of these instruction can also be found over at the functionx site, but more screenshots are included here to give a clearer understanding.
Continue reading

Using RSA to encrypt large data files in C#

Introduction

A utility in C# to use public/private key encryption of data inside large text files, before sending them over a secure connection such as SSL. Symmetric encryption, whereby both recipient and sender (or client and server) know the key with which to encrypt and decrypt messages was out of the question due to it’s inherent that use this key.
Continue reading

Using Win32 static libraries in Visual Studio projects

A static library is simply a file that contains functionality that can be made available to other programs. Static libraries end with the .lib extension and are made available to other Visual Studio projects (console applications, MFC applications etc) by creating links to them. Please follow the steps described below in order to create and use your own static libraries.
Continue reading

Using BoostPro to install Boost library packages

A number of Windows-based Boost libraries are not “header-only” and require that you must get them compiled. One way is to compile them yourself. A possibly easier way is to do this via the prebuilt installer packages from BoostPro.
Say for example you wish to use the Boost serialize facilities in your program:
Continue reading