Fix The exception unknown software exception (0x40000015) occurred in the application