Questions tagged as 'delphi'

0
answers

Is it possible to install a windows service from a DLL? (Delphi)

I have a dll which has methods that should be executed in a windows service. I did a search and saw that to install a service, I would need an executable. I have the 2007 version of Delphi and Windows 7. Something like: rundll32.exe <nomedl...
asked by 22.02.2017 / 16:45
0
answers

Conversion of the Delphi EnCrypta function to JavaScript

I have a problem converting this function, I would like someone to help me Delphi code function EnCripta(const InString:string; StartKey,MultKey,AddKey:Integer): string; var I : Byte; begin Result := ''; for I := 1 to Length(InStrin...
asked by 17.02.2017 / 19:13
1
answer

How to insert photos in BD Mysql with Firedac in Delphi?

I need to add images to DB, I do not know if I can use dbimage so I do not need to give insert and update and already pull directly into the record I'm working on. I tried to use the tips from here , but I could not get...
asked by 02.03.2017 / 21:00
1
answer

How to convert utf-8 text to ANSI. Delphi 2006

How to convert text utf-8 to ANSI . The words that use " ~ " and " '" are going out wrong, for example use the word " PREPARATION " PREPARE " when generating .CSV file using Delphi 2006 .     
asked by 15.02.2017 / 19:17
0
answers

Confirm InputQuery with just one Enter

I am using an InputQuery to enable the user to have quick access to other parts of the system. The problem is that the process is to give agility and to press twice the Enter key goes against the proposed goal. When you press the Enter key...
asked by 01.02.2017 / 13:59
1
answer

DBGrid fields have Duplicate Text

I'll go first of all for the image to see if anyone knows how to fix this. Howtoseewhenthelineisselected,thetestogetsduplicatedandpreventstheinformationfrombeingdisplayed.I'musingDelphi10.1Berlin.IhavethissamecodeinDelphi7andeverythingworksfine...
asked by 06.01.2017 / 15:28
0
answers

How to get the result of a procedure that is on the datasnap server

Needing help here it does not have this function // query that is in fqy_SaldoRs is "PRC_SALDO_MOTOQUEIRO: pMoto" That is nothing more than a query that receives a paramenter of integer type and returns a double function TServerMethods1.fnc...
asked by 21.12.2016 / 20:20
1
answer

Dblookupcombobox listfieldindex Setting the index the combobox comes empty

I have a problem with Dblookupcombobox, even setting the value of listfieldindex, it is not bringing the item to the combobox cbcPais.ListIndex := 1;     
asked by 17.02.2017 / 13:16
0
answers

timezone error indy10 delphi [closed]

I have a screen that sends email using Indy10 but it sends with the wrong time zone. He is sending the email always with 2 hours of delay, that is, if he sends the 17:00 he marks in the email as sent at 15:00. I checked in several sites but what...
asked by 11.11.2016 / 16:38
0
answers

Delphi / SendGrid integration

I'm trying to integrate an application Delphi with SendGrid , to configure the request I'm using RESTDebugger . I inform you Header Authorization="Bearer" + [minha chave] Content-Type = "application/json" And the JSON...
asked by 25.10.2016 / 13:43