Current Entries | Archives   RSS

 


Platforms, Platforms, Platforms

Thursday 10th November, 2005


The dilemma of which which target platforms to support is a neverending one for software developers and vendors. Inevitably, whatever conclusion you reach will inconvenience someone, somewhere. It's one tricky balancing act.

As an ISV specialising in extensibility products for Microsoft Visual Studio we are largely constrained by the platforms supported by it, which simplifies things somewhat for us.

According to Microsoft, these are the platforms currently supported by various versions of Visual Studio:

Visual Studio 6.0:

(Note that Visual Studio 5.0 is probably very similar - I couldn't find a readme for it).

Visual Studio .NET 2002:

Visual Studio .NET 2003:

Visual Studio 2005:

Supporting the most recent operating systems (Windows 2000 onwards) is generally not difficult; it's fairly unusual to come across a vital API call which is Windows XP or Server 2003 specific.

On the other hand, the legacy operating systems get progressively harder to support - and in particular the Windows 9x series is a real pig. Fortunately, few people are likely to use them for development work these days, so we are probably on pretty safe ground supporting WinNT 4.0 onwards or even Windows 2000 onwards.

Given all that, it shouldn't come as a surprise to hear that we perform most of our development using Visual Studio .NET 2003 under Windows XP Professional SP2, with testing being carried out on various Visual Studio versions under Windows 2000 or XP. With the imminent release of Visual Studio 2005 we now have a new platform to test against, and in time possibly a new primary development platform (the testing we've done so far indicates porting our VS2003 code will be almost trivial).

However, it is pretty clear from listening to the development community (just go and ask in the CodeProject Lounge if you aren't convinced) that many (most?) C++ developers favour either Visual Studio .NET 2003 or Visual C++ 6.0 on either Windows 2000 or Windows XP.

Our download Statistics for ResOrg (which has separate versions for VS 5.0/6.0 and VS2002 onwards) support that hypothesis. Over the past few months, our Resorg downloads broke down as follows:

Period   VS2002 onwards     VS5.0/6.0  
Nov 200558.3% 41.7%
Oct 2005 50.6% 49.4%
Sep 2005 55.7% 44.3%
Aug 2005 51.2% 48.8%
Jul 2005 45.8% 54.2%
Jun 2005 54.5% 45.5%
May 2005 36.0% 64.0%
Totals 48.5% 51.5%


It is clear from this (as if we needed convincing!) that Visual C++ 6.0 is still a very heavily used platform, which poses an obvious question for us - should we support it in forthcoming products (notably Visual Lint)?

I've no doubt the demand is there at the moment, but unfortunately there are some practical difficulties. The extensibility model of Visual Studio 6.0 is feeble to say the least, and with Visual Lint relying heavily on features of the new automation model such as Toolwindows, a port would be very difficult.

It is not impossible, however. As the articles below attest, some of the features we need are certainly possible, even if the automation model doesn't support them:

However, even with the advanced (and risky) techniques described in these articles, a Visual C++ 6.0 add-in is unlikely to be able to match the level of integration possible in VS2002 onwards. Of course, it might just be enough.

There is a maintenance issue of course. Supporting separate VS 6.0 and VS2002/2003/2005 builds (as we currently do for ResOrg) is costly and time consuming. To mitigate this one of the possibilities we've seriously looked at is producing an add-in which can support both the legacy platforms (VC 6.0 and even 5.0!) as well as the newer ones (Visual Studio 2002, 2003 and 2005).

Oz Solomon's Project Line Counter is the only add-in I'm aware of which has such capabilities, and although it is onerous to implement, the result - a single add-in binary which runs on every version of Visual Studio from 5.0 to 2005 can certainly make it worthwhile.

Of course, Visual Lint is a much more complex product than Project Line Counter, so producing a VS5/6 compatible version would be far from trivial. Nevertheless, we are more than willing to do it...but only if we are convinced there is likely to be a real market for the resulting product by the time we've produced such a version.

If you need Visual Lint to run under Visual Studio 6, please let us know. The more of you we hear from, the more likely we are to be able to do it.

Posted by Anna at 11:38pm | Get Permalink