[Support][Windows] Disable error dialog boxes when stack trace printing is enabled.