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
Category Archives: Visual Studio
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
How to link DLLs to C++ Projects
These 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 to make it more intuitive.
Continue reading
Getting started with Windows GDI graphics applications in C++
A 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 about these concepts in this post. I just want to show a simple means of getting started with things like the drawing of lines and objects in Windows applications. There is nothing stopping you from reading further on the subject to increase your understanding.
Continue reading
How to Create an Installer with Microsoft Visual Studio
Introduction
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.
Continue reading
Creating a Tabbed Dialog using MFC Property Sheets
This 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 much in the way of extra bells and whistles, just a very simple example to get you started… VS2003 download available here.
Getting Started with FLTK for Windows
1. 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 as C:\fltk-1.1.10-source. Continue reading
Getting Started with OpenGL for Windows
For 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 comes with the Windows operating system. You will need to ensure your PC has the latest drivers for your graphics hardware, however. Without these drivers, you will probably default to the software version of OpenGL 1.1 which is considerably slower. Continue reading
Getting Started with Boost Threads in Visual Studio
Introduction
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 internet, that tells you a lot without actually showing you anything! Continue reading
Getting Started with OpenCV in Visual Studio
OpenCV 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: Continue reading