Windows applications common helper functions and classes