Bugfix: SimulateKeyPress did not work properly for x64 platforms.