Alas, that's how majority of Win-based code is written....