Questions tagged as 'delphi'

2
answers

Apache + Delphi XE7 + Datasnap. Problems with memory

Developed a program with Apache, Delphi XE7 and Datasnap. My Apache httpd.exe consumes memory until I give the message "Out of Memory" so I need to restart Apache. I configured ServerModule (FireDac components, Mysql) and WebModule to run a s...
asked by 24.04.2015 / 14:56
1
answer

Group tables in a single

We are updating a system developed in Delphi that stored the data in access tables for PostgreSQL. So far so good, however, I came across the following situation: In the old bank we had the following tables to store the movements: notafis...
asked by 24.09.2014 / 21:03
1
answer

Processing timeout

I am doing an integration with SAT, when I can not communicate with the equipment the application hangs. Is there any way I can set a wait time for this process to run, canceling the operation when timeout is reached?     
asked by 24.06.2015 / 13:54
2
answers

Passing a variable within a procedure

I have this procedure in my project procedure DocumentComplete(ASender: TObject; const pDisp: IDispatch; const URL: OleVariant); Now I need to use it in a loop by passing the count variable. I tried the following: procedure DocumentComple...
asked by 08.11.2016 / 22:16
2
answers

FireDac multithread (Concurrent Connections - REST Server) DELPHI

Good morning people, I would like to ask for your help, if anyone can help, I am very grateful. The question would be fairly simple, How to work with Multi Thread in FireDac? In other databases, such as DBISAM, you have a Session compo...
asked by 17.02.2017 / 13:10
2
answers

What is the cause of using SELECT null FROM RDB $ DATABASE

I'm not understanding this SELECT null FROM RDB$DATABASE : SELECT CK.IDCHEK, CK.DESCHE, (SELECT null FROM RDB$DATABASE) AS ENTEGU FROM TC_CHECKL CK ORDER BY CK.IDCHEK It looks like it goes into an internal table of the b...
asked by 20.02.2014 / 15:20
1
answer

DataSnap Error with Indy

I made a server application calling the browse , everything works fine, but to test my methods I built a client using TdHTTP o and call the methods as follows: procedure TF_CLIENTE.SBEnviar2Click(Sender: TObject); var Url : Stri...
asked by 16.02.2015 / 01:43
2
answers

How to block a site with Delphi, vbs or msdos?

I have a system for monitoring and monitoring users and would like to block a site using Delphi or even MSDOS or VBS commands, or even using Sockets (I do not know if it's possible)? What I have for now is this: Delphi var dd: TextFile...
asked by 28.12.2015 / 18:46
0
answers

Example Delphi ScrollForm is not working in version 10.2

I have an App (Android) developed in the Delphi version 10.1, where I used the ScrollForm examples (so that the layout moves along with the android virtual keyboard to not cover the edits), now I was deploy in the current version (10.2 ) and it...
asked by 03.06.2017 / 17:55
1
answer

Color generator

I want to develop a random color generator but it is clear, that is, it is possible to read a text with the black color on the color generated randomly. Random colors I can generate by means of the following code: RGB(RandomRange(0,255), Ran...
asked by 24.11.2016 / 19:05