Questions tagged as 'delphi'

1
answer

Manipulation of sql temporary tables in delphi

Good afternoon I create in Delphi a temporary Sql table, that is, it does not exist physically. I can even write data to it, but I can not put the information in a dbgrid: 1) I created the table like this: qryCIDtemp.SQL.add('Create table '...
asked by 21.06.2018 / 20:08
0
answers

Error converting SQL - Datasnap Rest

I have a problem: I have a datasnap / rest server, in it I have the following method: Function TServerMethods.getComandoSQL(ASQL: string): TFDJSONDataSets; begin qryComando.Active := False; qryComando.SQL.Clear; qryComando.SQL.Add(ASQL);...
asked by 03.07.2018 / 15:24
0
answers

Error (Bitmap size too big) when using Timage in android firemonkey thread

I use this function to generate thumbs of the images in the system: procedure converte_jpg(Bitmap: TBitmap; Stream: TMemoryStream); var surf: TBitmapSurface; saveParams : TBitmapCodecSaveParams; begin surf := TBitmapSurface.Create; tr...
asked by 19.06.2018 / 14:55
1
answer

Open .pas file by explorer in win10 [closed]

I use Delphi 7 and after switching windows 7 to windows 10 (Enterprise), I can no longer open .pas files directly from Explorer. When I double-click the .pas file, a new instance of Delphi is opened, but without the desired file. I hav...
asked by 29.05.2018 / 16:08
1
answer

How to do autentica basic with delphi xe 8

I'm developing an application in Delphi xe8 that will consume data from the web service that returns data in json. The problem is that you are presenting the message HTTP/1.1 401 Unauthorized {"code":401,"message":"Unauthorized","detailedMessa...
asked by 11.05.2018 / 18:55
0
answers

FastReport getting crazy with numeric string

I like FastReport a lot because of the many layout options we can do in it, but I confess that sometimes it gets on my nerves and if I could change it. I'm inserting the following string into a Memo field: MemoExames.Lines.Add(Copy(<...
asked by 24.04.2018 / 17:56
0
answers

Capture / Intercept Hook on Windows with [DELPHI]

First of all I know how hooks work in Windows, but in practice I'm a bit of a layman, I'd like to know if you have Capture / Intercept Hooks in Windows between applications. And if anyone has any kind of study and training material, thank you....
asked by 07.05.2018 / 21:15
0
answers

Why this error in PostgreSQL if I am not using SSL?

Why am I getting this error:    SSL SYSCALL error: EOF detected The connection is via the local network via Delphi Application - > PosgtreSQL I use the ZEOS component for the connection     
asked by 03.05.2018 / 18:53
0
answers

Problem with firebird database path

When I have a path eg: C:\Programa\bd.fdb and try to pass to the system, windows does not recognize the bank. Now when I have a path like this: 192.168.1.1\C:\Programa\bd.fdb The database is recognized normally, and also works for othe...
asked by 04.05.2018 / 20:28
2
answers

Hide component in first record (DBCtrlGrid)

In TDBCtrlGrid I want to hide a component, actually a TPanel only in the first record of dataset . I tried the DBCtrlGrid1PaintPanel event by checking when the Index = 0 but when for example the first record is selec...
asked by 28.03.2018 / 14:15