Pages

Sunday 14 January 2007

What I like in Vista

What I like in Vista:
  • the UI obviously
  • the search (however still not as fast as Google Desktop Search)
  • the audio: ability to set per-application volume, on/off status for each audio device, easy to switch between various audio drivers
  • the snipping tool
  • the backup tool. Definitely easier to use than Windows XP's. If the PC is off when a backup is scheduled, the backup takes place as soon as the PC is switched back on.
  • the performance monitor and the reliability chart: the chart goes down as the frequency of crashes increases. See my chart below for the last month.
  • Check for solutions window: when you download updates, Vista remembers the previous crashes and checks for solutions for each of them.
  • Built-in disk partioning.

  • Previous versions of a file are automatically saved (where? when? I don't know, but it's a very usefull feature, more clever than a rubbish bin).
  • Offline files. Ability to encrypt offline files.

What I don't like:

  • the backup: it does not offer you to back-up files from a specific folder. It only allows file types.

What I listened to this week #9

Tuesday 9 January 2007

Porting unmanaged C++ code from VS2003 to VS2005

This should normally not cause too much trouble, after all, it's the same language and the same platform. Only the compiler changes a little. The VS2005 compiler does extra checks, especially in the 64bits and security area.

Warning C4244: 'initializing' : conversion from 'INT_PTR' to 'int', possible loss of data

  • Solution: disable Detect 64-bit portability issue in the project options Configuration Properties > C/C++ > General.

Warning C4996: 'sprintf' was declared deprecated

  • Solution: use the new and secure sprintf_s.

Reference: Deprecated CRT Functions

Note: don't use the new secure functions if you intend to keep compiling under VS2003. VS2003 projects will break if the new secure CRT functions are used. To disable the warnings, define _CRT_SECURE_NO_WARNINGS.

Warning C4996: 'itoa' was declared deprecated

  • Solution: replace itoa with _itoa or _itoa_s ...or use a CString (which is more elegant):

Warning C4996: '_fcvt' was declared deprecated

  • Solution: use _fcvt_s or CString.

Warning C4482: nonstandard extension used: enum 'CSecureRst::OperatorTypeEnum' used in qualified name

  • Solution: don't write the name of the enum type when specifying the enum.

Sunday 7 January 2007

Trying Out... #1

  • Dreamweaver 8: looks very similar to past versions. Site configuration does not want to memorise the ftp username/password of my website. It is possible to select all recently modified files in one go (very usefull as an alternative to re-synchronise your whole site)
  • Ubuntu: installed Ubuntu on my old 2.8GHz PC without a single problem. One glitch: can't find a Linux driver for my WG111T WiFi adapter therefore no internet at the moment, not good.
  • Adobe Photoshop Elements 5.0: major improvement about the past versions: the pic import dialog has many more options.
  • Enterprise Library for .NET Framework 2.0 - January 2006
  • Adobe Illustrator

What I listened to this week #8