correctly manage 64bit sharedarea numbers on 32bit systems