You are not logged in.
Pages: 1
Hello,
Have been using Mormot successfully for quite some time now, albeit an older
version. Tried now to install several later builds,
for instance one released last August (44d7dcce95aa324)
along with the latest stable version.
In both cases, the compiler for Delphi 2009 stops/breaks at Unit 'SynZip.pas'
apparently at the end of function TZipRead.RetrieveFileInfo(Index: integer; var Info: TFileInfo): boolean;
and just says, pointing to line 1321 'F2084 Internal Error: C12074'
Wonder if anyone has come across something similar..?
Am using Win 7 with D2009.
Any help would be much appreciated,
Cheers,
Sami
Offline
Is it tied to this http://qc.embarcadero.com/wc/qcmain.aspx?d=71292 ?
Offline
Hello,
'Is it tied to this http://qc.embarcadero.com/wc/qcmain.aspx?d=71292 ?' , no because in D2009 there is no option called 'msbuild' to set it to true.
Offline
The solution for this problem can be found here:
http://stackoverflow.com/questions/7630 … -nativeint
NativeUInt is broken in D2009.
Last edited by dbetts (2016-11-16 14:35:48)
Offline
Hello,
Many thanks for all your help, finally went back and
changing NativeUInt to UInt did solve this mysterious problem!
Now, however, when trying to compile a D2009 application
containing the BatchSend command (as below) that used
to compile fine with a very old Mormot (from Jan '14)
gives the following error when compiling it with a new Mormot from Jan '17:
' There is no overloaded version of batchsend that can be called with
these arguments..'
Would be very grateful for any hints, am not aware of changes in BatchSend...
Cheers,
Sami
Var
AllResults: TIntegerDynArray;
GG_globalClient.BatchSend(AllResults);
Offline
Thank you again, did that switch all over in the code and finally got it to compile!
What can't figure out now is why the BatchSend fails (used to work
with old Mormot) and returns error code 400 (bad request).
Made sure that the server code too got updated & compiled...
Regards,
Sami
GG_globalClient.BatchSend(AllResults);
Offline
Just to add to the previous post, downloaded the latest nightly build
and now BatchSend works fine the first time when adding a set of records.
If however, the same set of records are added again, the
application returns error code 500, 'internal server error'.
Could it be that the new Mormot
is now complaining of key violations which went unnoticed before...
Am using the following though for addind records...:
GG_globalClient.BatchAdd(mytbl, True);
Last edited by jonsafi (2017-01-26 09:36:32)
Offline
Pages: 1