Fixed small bug in windows driver for Application.