Added native event driver, but it has an access violation error