Re: [twsocket] Problem Posting in OverbyteIcsSslWebServ Sample

2016-01-04 Thread Darin McGee
Thank you RTT, that did the trick however fixing that seems to have exposed
yet another problem in the code.  I will post later with what I find.

Thanks again!


-Original Message-
From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of RTT
Sent: Monday, January 04, 2016 3:10 PM
To: ICS support mailing 
Subject: Re: [twsocket] Problem Posting in OverbyteIcsSslWebServ Sample


> When I fill in the first and last names and click the button to submit
(post) the data, the program throws an exception ( Access violation at
address 004B34E8 in module OverbyteIcsSslWebServ.exe Write of address
0026 ) and the debugger line breaks on
Remote.FPostedDataBuffer[Remote.FDataLen] := #0; within the procedure
TSslWebServForm.SslHttpServer1PostedData.

Change the line
Remote.FPostedDataBuffer[Remote.FDataLen] := #0; to
Remote.FPostedRawData[Remote.FDataLen] := #0;
--
To unsubscribe or change your settings for TWSocket mailing list please goto
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Problem Posting in OverbyteIcsSslWebServ Sample

2016-01-04 Thread RTT



When I fill in the first and last names and click the button to submit (post) 
the data, the program throws an exception ( Access violation at address 
004B34E8 in module OverbyteIcsSslWebServ.exe Write of address 0026 ) and 
the debugger line breaks on Remote.FPostedDataBuffer[Remote.FDataLen] := #0; 
within the procedure TSslWebServForm.SslHttpServer1PostedData.


Change the line
Remote.FPostedDataBuffer[Remote.FDataLen] := #0;
to
Remote.FPostedRawData[Remote.FDataLen] := #0;
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be