Which source did you get bbear? The one in the first post, or the one that I'd made some fixes to further down? In any event, the code isn't very much different, I just fixed a few bugs.
AHXLIB.lib is a static library. If you're using Visual Studio, it's one of the options you can set when you create a project. If you grab the source that I've made fixes to, it includes the whole VC2005 project to build it.
Are you using and older version of VS, or do you have the Express and Pro versions installed at the same time?
Jim