[Bug 17984] New: Invalid handle for RegOpenKeyExA in win64 bit application