Incompatibility between Indy 9 and Windows Server 2003?

I had a problem with the Delphi application on some Windows 2003 servers. It uses a webservice call to connect to another server and transfer data back and forth. As soon as the application switches to the Authenticate method, the application dies. The application has been running on previous blocks with Win Server 2003 for a long time, but it is not on newly built machines. The machines are configured the same for the most part, but there is a certain configuration setting that differs in that I cannot track. In addition, although the error becomes apparent when calling Authenticate, sniffing packets proves that nothing happens between the application and the server that it is trying to contact, which reinforces my thoughts that something is actually leaving early in setting up the connection . I cannot duplicate the error locally,therefore, I cannot go through the application in the debugger. Any thoughts on why the Indy 9 Delphi web connection might fail unexpectedly?

+3
source share
2 answers

Here, where it exploded:

MySoapObject := GetNewSoapObject(usewsdl, addr, FHTTPRIO);  
 ...   
if MySoapObject <> nil then   
  MySoapObject.SomeFunction(); // BOOM! Access Violation here.

! , DEP (Data Execution Prevention). Delphi2007, . ( , XML), mgr ( ), SOAP D2005 D2007, , . , . Beyond Compare . - RIO.PAS PrivateHeap.pas. , , googled , , , .

DEP , Windows XP 2, , , Windows . , Delphi SOAP , , . , , AV, , RIO . PrivateHeap.
- -
    http://delphigroups.info/2/11/344230.html

! , . DEP . . DEP , , . , DEP , . DEP ( ), ! , , , , , .

, : Delphi2005 Windows2003 - (DEP), HTTPRIO. RIO , . IInvokable, , . , - Mcmar, Beyond Compare Jean-Marie Babet.

+5

2003 ?

+1

Source: https://habr.com/ru/post/1737871/


All Articles