When exporting, it says "Invalid pointer or handle in".