This is more a redirect than an answer. One thing you need to know about is that PowerBuilder creates executable files that do not meet the standards for Windows executables. In essence, they are a bootstrap procedure for loading a PowerBuilder virtual machine, as well as a set of class definitions (objects). The cases that you raised are not the first ones that I heard about when utilities designed to modify executable files do not work with PowerBuilder executables.
, , , . , COM-, ConnectToNewObject() , , , .
,
.