Using Win32 static libraries in Visual Studio projects
TweetA 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 … Continue reading
Using BoostPro to install Boost library packages
TweetA 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 … Continue reading
How to link DLLs to C++ Projects
TweetThese instructions, also available on the Microsoft site, show how to create from scratch a Visual Studio 2010 project that can utilize dll routines created elsewhere, by way of referencing. It basically says the same thing, but with additional screenshots … Continue reading
Getting started with Windows GDI graphics applications in C++
TweetA guide to getting started with Windows graphics applications for the very first time. The Windows Graphics Device Interface (GDI) forms the basis of drawing lines and objects, and from this device contexts. I will not go into any detail … Continue reading
How to Create an Installer with Microsoft Visual Studio
TweetIntroduction Visual Studio 2010 contains a package that enables you to create Windows installer files for your applications. Follow these simple steps to build your own setup package for the Visual Studio application you are working on. Creating an installer … Continue reading
Creating a Tabbed Dialog using MFC Property Sheets
TweetThis post assumes that you are working on an existing MFC project and wish to add a tabbed dialog to your application. This example was created in Visual Studio 2008. Like most of the other postings here, there is not … Continue reading
Getting Started with FLTK for Windows
Tweet1. Download and extract FLTK For this particular install I used an old Visual Studio 2003 .NET version. Get the zipped file from the download section of Bill Spitzak’s FLTK site. Unzip the file and place it somewhere suitable such … Continue reading
Getting Started with OpenGL for Windows
TweetFor setting up OpenGL in Ubuntu Linux, please see this post, otherwise for Windows / Visual Studio environments, please use these following instructions: 1. Download the latest Windows drivers As stated on the OpenGLs wiki page, OpenGL more or less … Continue reading
Getting Started with Boost Threads in Visual Studio
TweetIntroduction This post aims to be an accessible introduction to getting set up with the Boost threads in Visual Studio environments for the first time. Like with many technical subjects, there is a great deal of information out on the … Continue reading
Getting Started with OpenCV in Visual Studio
TweetOpenCV is a free, open source library that enables your computer application to “see” and make decisions from the image data it acquires. Here are some guides for setting up OpenCV for use in Microsoft Visual Studio Environments: Installing OpenCV … Continue reading
General HowTos
TweetCollapse / Expand code blocks: Go into Tools -> Options -> Text Editor -> C/C++ -> Formatting Check everything or a selection as required. Setting Environment Variables For example, when trying out QT for the first time: My Computer->Advanced->Environment Variables … Continue reading
Getting Started with UnitTest++ in Visual Studio
TweetFor some time I wanted to incorporate unit testing into our development process. Though many think unit testing is largely a waste of time with not all code bases lending themselves easily to testing, if done in the right spirit … Continue reading
Getting Started with the FlyCapture SDK
TweetI have recently been working on a knotty problem involving control and image acquisition using the Flea®2 camera, using FlyCapture® SDK by Point Grey Research, Inc. They have an impressive set of code samples to try all manner of things … Continue reading
How to Install the Boost Libraries in Visual Studio
Tweet1.Download and install boost from here or here. 2. Right-click on the project listed in the solution explorer and select properties: 3. In configuration properties – C/C++ – Additional Include Directories, enter the path to wherever you have installed the … Continue reading
Object Detection Using the OpenCV / cvBlobsLib Libraries
TweetA short example of how to utilize various open source library functions that can be used to identify and analyse strongly connected components for a given input image. In the example I have given here, the image represents microarray sample … Continue reading
How to Create Resizable Dialogs in MFC
TweetExample 1: Using Paulo Messina’s Code Project sample A minimalist use of the CResizeableDialog class as described by Paulo Messina at CodeProject . Hope you find the following recipe useful. Visual Studio 2003 source code is downloadable from here. 1. … Continue reading