some changes to the JNA COM implementation