Archive for the ‘Programming’ Category

Is GPL software free as in “free love”?

Thursday, September 11th, 2008

I was contemplating the other day how to extend AB Commander to make it able to collaborate with several third-party software products. For example, it would be cool to add some support for the 7z files, which are created by the file compressor 7-Zip . It shouldn't be too difficult, ...

Vista Elevator 2.0

Sunday, July 27th, 2008

(This post is moved here from the TweakUAC web site, where it was first published on February 27, 2007) Vista Elevator 2.0 is an updated version of the sample application Vista Elevator that uses a different approach to solving the problem of starting a non-elevated task from an elevated one. The first ...

Quick and dirty way of cleaning the Windows icon cache

Tuesday, June 17th, 2008

When developing my software, sometimes I need to try a few changes to the application icon, to see which image looks better. Unfortunately, replacing the icon within the application file does not make Windows recognize the new icon when displaying a shortcut to the file: it displays the old icon ...

Vista tools

Sunday, February 24th, 2008

(This article was originally published at the TweakUAC site.) Version 2.1 (Updated 2008-Feb-24) While porting our applications to Windows Vista, we had to overcome quite a few challenges related to the new security features of Vista (such as the User Account Control). We decided to make public several functions we've developed, to ...

A handy macro for Visual C++ developers: BuildStartupProject

Saturday, January 26th, 2008

I can't believe I did not know this before: it's possible to set up Visual Studio to use F7 to build the startup project rather than the selected one! As a matter of fact, that was the default behavior of the F7 key in Visual Studio 6.0, but then ...

WinUnit and Structured Exception Handling (SEH)

Tuesday, January 22nd, 2008

Recently I was working on a native C/C++ library, and I was searching for a good unit testing framework to use with it. I took a look at TUT, CppUnit, and a couple of others, and was trying to decide which one to choose, when a new issue (February 2008) of the ...

Virtually everything

Tuesday, January 15th, 2008

Being in the software business, I have to upgrade my main development machine rather often. When switching to a new computer, the most frustrating part of the process is setting it up just the way I like it. That means not only moving the source code and other ...