Delphi6 but when the return value of the Send function is negative (-6140)
This error occurs when registering ActiveX in Delphi.
Registering ActiveX will result in a file associated with the package interface.
(The return value is not defined, so the wrong value is returned.)
A way to get a normal interface file and replace it with the wrong file. Only one solution is available.
Register XCom on Delphi 3 to 5 and replace the interface file.