#1 mORMot 1 » Error compiling LogView example » 2013-12-04 11:55:52

KJames
Replies: 1

Hi, I was trying to compile the LogView example and a got this error: "Incompatible types: 'PWideChar' and 'PAnsiChar'".

It happens in the Classes unity on the LVCL folder.

    if StrIComp(P,pointer(Value))=0 then begin //Line 678

I'm running it on Delphi XE2 Update 4

#2 mORMot 1 » TSQLHttpClientWinHTTP function EngineExecute » 2013-11-26 18:04:49

KJames
Replies: 1

Hello,

I'm trying to use this function to execute a update command like:

UPDATE TABLE1 SET VAL = ((VAL * 0.5) + VAL) WHERE column2ID= 5

and this function doesn't execute the command correctly into the database.

But the SQL command works normally when I run it directly into the database.

Why does it happen?

#3 Re: mORMot 1 » Getting ID from Batch Insert » 2013-08-02 18:05:00

Once again you are right and helped me to solve my doubt.

Thank you very much!!! smile

#4 mORMot 1 » Getting ID from Batch Insert » 2013-08-02 13:45:37

KJames
Replies: 2

I need to use a Batch Insert method (there are a lot of records), but after the insertion in the database,  I need to get all the IDs of the inserted records.
How can I do that?

#5 mORMot 1 » TSQLRequest.Reset called with no previous Request » 2013-07-17 13:36:21

KJames
Replies: 1

I was debuging a Server with TSQLHttpServer, and I get this error : "TSQLRequest.Reset called with no previous Request".

What does it means?

#6 Re: mORMot 1 » mORMot through internet » 2013-07-05 13:13:07

It happens with slower connections. Locally it's just too fast to cause this problem.

#7 Re: mORMot 1 » mORMot through internet » 2013-07-05 12:23:48

I was doing some testing and found that when a command is done very quickly, and there's no time to client retrieve the data from the server, and due of the use of threads, the client continues running the code, so that can result sometimes in "Access Violation" and "Invalid pointer operation" errors.

How can we treat this kind of behavior?

#8 Re: mORMot 1 » mORMot through internet » 2013-07-04 13:40:31

Very well, thank you very much.

#11 Re: mORMot 1 » Connection through thread » 2013-07-03 12:01:41

ab wrote:

...and use a background thread during the blocking communication.

What would be the function of this background thread?

#12 Re: mORMot 1 » mORMot through internet » 2013-07-03 11:59:13

Wich one is easier to implement?


Do you want me to create a ticket?

#13 mORMot 1 » mORMot through internet » 2013-07-02 17:08:12

KJames
Replies: 18

I'm using mORMot in a server in cloud (something like Amazon EC2), and my clients connect to the server through the internet.
The internet connection ain't perfect, so sometimes there is instability (a few seconds, usually), when that happens the client application freezes over waiting for the connection with the server.

How can we prevent something like that?

I've tried set a timeout on the connection but I couldn't make it work properly.

Any idea?

Board footer

Powered by FluxBB