I attended the Microsoft Windows Server 2003 / Visual Studio .net 2003 Launch event (hey it was right next door, and it was free!). Mostly marketing hype, but the last session covered some great features in VC++ 2003:

  • “98%” C++ ISO compliant (now supports template partial specialization, compiles boost, loki and blitz++ out of the box…)
  • whole-program optimization, can inline across modules
  • better intellisense, faster dynamic help, faster startup, generate html from comments
  • support for Windows Forms via Forms Designer – includes docking and auto-resizing layout capabilities – but generated code is “managed” (allocations are done on the .net garbage collected heap hrmmm…) – you can derive forms!
  • /G7 optimization switch for P4/Athlon, “5-15% improvement”
  • /GS security switch to check for buffer overflows and exception table hacking
  • /arch:SSE/SSE2 for improved (“2-3%”) floating-point performance

    Time to break it out…

  • UPDATE: This is no longer an issue in more recent Putty releases.

    Putty’s plink.exe is an ssh Windows command-line tool that’s great for scripted access to CVS. It is used behind the scenes by TortoiseCVS. There are lots of options available to establish the SSH connection, including going through a proxy, and these are stored in a “session”. However, if you try to load a session from the command line, so you can get proxied CVS access, plink.exe ignores the rest of the command line.

    I got the source for plink.exe and patched it to work for me. I am fairly sure this version will work for everyone, but not positive – I have submitted it to the Putty team for review. Here’s the patched version for now, based on the development snapshot dated 3/17/03.

    PLINK session settings you should change from default:

    • host
    • auto-login
    • send timeout (typically needed to keep the proxy from dropping the connection
    • proxy
    • preferred SSH = 1
    • force local echo off
    • force line edit off
    • ssh: dont allocate pseudo-terminal

    TortoiseCVS SSH command:

    • plink.exe -load session -batch

    (continued…)

    OK, skinning HTDJ well really requires rewriting all the controls to be my own. MFC is really nasty about getting it all right – I am sure it is possible to get controls that draw without flash over bitmapped backgrounds, but it is NOT fun. So… I am trying a shift in gears…

    ZINF is very close to what I need for the next HTDJ – skinning, streaming, etc., etc. It has none of the cool features of HTDJ… time for a little MERGING wahoooooo!

    There’s a new version of Visual Studio coming out called Everett – actually very interesting, compared to the current version of VS 7 – they are targeting C++ ISO conformance and hitting 98% or better – “But our favorite benchmark is that we’re compiling the popular Boost, Blitz, and Loki libraries without the need for special workarounds”. Excellent, sounds worth the switch this time.

    New HangTheDJ version is available here.

    Nothing major, just fixed the refresh on filter change. This also has the first bit of skinning in it, so it is a bit ugly. Sorry! :>

    Once I wrap up the skinning, and a few other odds and ends (the menu on both the small view and the taskbar view, for example), I think I will go for a major release. Hope you enjoy.