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: Windows
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
How to interface with Excel in C++
Interfacing Excel in C++ is task that I needed to overcome recently, so I thought I would post some code and instructions on the said topic. Some online articles that I found to be useful include the following:
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
Displaying AVI Video using OpenCV
A short demonstration of how to use OpenCV to capture and display video frames from an avi file. The code demonstrates how to capture video from an example video (avi) file, get information in the form of frames per sec. and display the video.
Continue reading
Problems Accessing Linux Folders and Servers from Windows
A short posting on dealing with accessing shared directories from remote Windows machines. When trying to access a shared folder stored on a Linux server from (say) a remote Windows XP machine you may have come across the following error message in much the same way as I did:
Continue reading
Getting Started with NVIDIA CUDA for Windows
Introduction
CUDA is NVIDIA’s parallel computing architecture that can greatly ehance your computer’s performance by harnessing the power of your GPU (graphics processing unit), as opposed to your PC’s CPU (central processing unit). For a general overview, your best bet may be to go straight to their Getting Started guide.
Continue reading
General Windows How-Tos…
Starting from today, any useful Windows-related tips I encounter. I anticpate this post will grow as and when I come across any other Windows-related stuff… First off: Continue reading