Utilities for VC++