Questions tagged as 'delphi'

0
answers

API KEY Google MAPS for my clients with application made in Delphi

I've created a computer application where the user can track their deliverers using the Google Maps API. The browser is the TChromium component - for Delphi that replaces TWebBrowser . So far so good, I've generated my API_KEY key and ever...
asked by 31.03.2017 / 00:51
1
answer

Detail master table, totalizing fields

I am doing a work order control where in a work order several users will register products and labor, so I have three tables: - Service order (master) - Products (detail) - Labor (detail) The detail tables generate values that will have to repre...
asked by 31.03.2017 / 04:02
2
answers

How to automatically select the first item in a PopupMenu

I have a screen where a popupMenu is opened through the enter as a shortcut key. My problem is that I can not make the first option be pre-selected to be activated with an Enter. In short: I would like to display the popupMenu enter to "click" o...
asked by 10.03.2017 / 13:59
0
answers

RTTI not returning function in getMethods

I have the following class TClasse = class public Funcao: function(arg: String): Integer; stdcall; end; What happens, is that when using RTTI in this class to return the function "Function", it does not come back because it i...
asked by 10.03.2017 / 14:31
0
answers

How to get System.Generics.Collections.TList in a TList?

I'm having a problem trying to get the TList from a Generics.Collections.TList. It gives the following error: [dcc32 Error] Unit1.pas(101): E2010 Incompatible types: 'TExame' and 'System.Generics.Collections.TList<modExame.TExame>'...
asked by 03.04.2017 / 15:31
1
answer

Multiple transactions with FireDAC?

I would like to work with multiple concurrent transactions in FireDAC , making different decisions and commits ) for each. It's possible? I currently work as follows: try obj_TFDConnection.StartTransaction(); ... obj_TFDConnection.Com...
asked by 08.03.2017 / 18:43
0
answers

capture and use an in-app object from a dll (all in delphi)

I have an exe in delphi and I use a dll also in delphi. In the exe I have a tdatabase for connection to a database, and in the dll I would like to capture and use this component without having to create a new tdatabase to access the database, av...
asked by 16.02.2017 / 15:31
0
answers

Zeos: Error of type differences in different databases

I have a system made in Delphi 7 that can be connected in both MySql and Firebird .. I have a configuration file where I inform the host, bank, user, password, port and Zeos protocol that indicates the type of bank . It is opening MySql database...
asked by 06.02.2017 / 21:55
1
answer

problem in insert using adoconnection

We are doing a migration of the database of the system of firebird to sql server and we put an adoconnection ... we have a table of client that makes a join with the table of cities ... the problem is that now that we insert a register in the cu...
asked by 06.02.2017 / 14:06
1
answer

Run application via delphi service with admin rights

I need to run an application through service with delphi with elevated administrator rights. I have tried several solutions found here, such as RunAsAdminAndWaitForCompletion(filename, Parameters: string; wait: boolean): Boolean;...
asked by 03.02.2017 / 17:44