I think the easiest way to get this task done is to do this with an ActiveX control or a DLL. I would write it in Delphi 7 Enterprise, but other solutions exist. D7 Enterprise has just about the best Win32 XML support.
Thanks for your advice - I'll probably follow your advice in programming a DLL.
Currently my friend made a java class ( which creates XML, sends it to IP address and waits for responded XML ), which is started in batch file, initiated by "execute" command in my ObjectPAL method.
It seems to me a very awkward solution, but I'm not acquainted with ActiveX control. Where should I start ?
I still have problems in sending and receiving XML. Following your advice, Mike, a friend of mine made a DLL in Delphi , containing a function with parameters:
where variables are declared as foolows: var AURL String ACert String AReq String AResp String ARespLen LongInt retc LongInt endvar
AURL, ACert and Areq are filled with values, AResp is filled with number of blanks and ARespLen is the length of AResp.
Still the error occurs: "Access violation at address 03513577 in module 'red2mrvl.dll'. Read of address 00000064" - this is the area of AResp, which I filled with 100 asterisks.
I suppose there's an error in passing parameters - I intended to pass first three parameters by value and the last two by pointer - where did I make a mistake ?