An update on Visual Studio 6.0 support in Visual Lint
Tuesday 21st March, 2006
Things are getting rather busy here. The Visual Lint codebase was branched a couple of weeks ago (shortly after the public release of Visual Lint 1.0.3.45), and we're now working away on the next version - Visual Lint 1.1.
Although v1.1 superficially resembles its predecessor, under the bonnet (I'm a Brit, remember!) things are slightly different, as I can now confirm that Visual Lint 1.1 supports not only Visual Studio 2002, 2003 and 2005, but also (by popular request) Visual Studio 6.0 and Visual C++ 6.0 - all in the same binary.
There are a couple of areas we knew would be particularly tricky:
-
The Visual Studio automation model for 6.0 is only distantly related to that in later products, and not at all compatible. To support 6.0 as well as VS.NET we have had to abstract all our calls into Visual Studio, which not suprisingly requires a significant volume of changes to the codebase.
-
The Visual Studio 6.0 automation interface does not provide any UI customisation support. This affects us significantly, as Visual Lint has three custom toolwindows which can't by any stretch of the imagination be considered as "optional".
Fortunately we have the worst of these issues under control now, as the following screenshot shows:

As you can probably see, we have been able to integrate our toolwindows into the Visual Studio 6.0 "Workspace" View. The Lint Analysis Results toolwindow is floating by default, since similar integration with the Output Window is far more difficult (I'll discuss this in a separate post as it really does warrant it).
As the automation interface does not provide any means to do this we've had to use Win32 techniques to add the windows to the Workspace View directly. Incidentally, the techniques required are very well described in the Codeproject articles SppMk - a unit testing and GNU make support add-in for Visual Studio 6.0 by Pavel Kobiakov and Undocumented Visual C++ by Nick Hodapp.
One nice touch is that any of our three toolwindows can be floated or docked within the Workspace View using context menu commands.
There is obviously still significant work to do in developing this version to the point where it is ready for a public release, but I'm pretty sure we should be in a position to release an alpha version to our testers in about a month's time. That being the case, we of course need some testers who still use Visual Studio 6.0, so please don't hesitate to contact us if you would like to be involved.
