You are not logged in.
Pages: 1
When I'm using the code, in this code A is Integer and B is a Extended type of Parameter:
....
if UrlDecodeNeedParameters(Ctxt.Parameters,'A,B') then
....
I get a acess violation error that happens in this function:
...
function IdemPChar(p, up: PUTF8Char): boolean;
...
mov cl,[edx] // happens in this line
Offline
Log of the error is this one:
20131126 08495753 " EXCOS EAccessViolation (C0000005) at 00180359 SynCommons.IdemPChar (16235) stack trace 00003BEA System.@GetMem 00007BC4 System.@NewAnsiString 002031AD mORMotHttpServer.TSQLHttpServer.Request (546) 00201EB8 SynCrtSock.THttpServerGeneric.Request (4285) 00201672 SynCrtSock.THttpApiServer.Execute (4069) 0005A729 System.Classes.Classes.ThreadProc 00007ACA System.ThreadWrapper
I'm using Delphi XE2 UP4.
In the client I'm using this code to call for the execution in the server:
Http.CallBackGetResult('UpdatePrices', ['A', 25, 'B', 0.54]) // a example o the parameters, Http is a TSQLHttpClientWinHTTP
Last edited by Kobe (2013-11-26 13:20:12)
Offline
The Ctxt.Parameters content is '' (null).
I don't understand why, because as I said:
In the client I'm using this code to call for the execution in the server:
Http.CallBackGetResult('UpdatePrices', ['A', 25, 'B', 0.54]) // a example o the parameters, Http is a TSQLHttpClientWinHTTP
Which I believe sends values to the Ctxt.Parameters, so its content could not be '' (empty)
Last edited by Kobe (2013-11-26 15:19:42)
Offline
Pages: 1