Questions tagged as 'delphi'

0
answers

How to retrieve the id inserted in sqlserver database using delphi datasnap

How to get the id that has just been inserted into the database on the server side, use Delphi XE10.1 SQlServer and Firedac Bank, I would get the id to use in the child table when it is master detail. as shown below procedure TsrmCadastro.dspP...
asked by 09.01.2017 / 22:27
0
answers

Error in Installing the JEDI component in Delphi Berlin (10.1)

I'm trying to install the JEDI components in Delphi Berlin 10.1 in my environment, however, I'm getting a compilation error in the bpl "JvCore240". The JCL installation is usually done without any error, but when I try to install JVCL (which dep...
asked by 02.01.2017 / 14:11
0
answers

SafeArrayPutElement delphi

I have a rather big problem. I have a C # DLL with some props that are arrays string[] teste; and generate the TLB. When importing to Delphi 2007 the TLB. The "test" array goes as PSafeArray . How do I make this array popular th...
asked by 12.12.2016 / 19:57
0
answers

Class TDBText not found

Good morning, friends. I'm having problems with a program, because whenever I start one of the options, it returns me an error of "Class TDBText not found ', and the package contained in this class is declared in the program uses. I'm using Delp...
asked by 25.01.2017 / 13:32
0
answers

Why is the timestamp field in the firebird database shown differently in a Ruby on Rails application?

I have a legacy Firebird 2.5 database. Access it via IBExpert 2016.9.4.1 This database is part of a request management system that is being migrated from a Delphi 10.1 Update 2 application to a Ruby(2.3.3) on Rails(4.2.7....
asked by 06.12.2016 / 18:27
0
answers

XML Delphi - Mismatch in datapacket

I'm evaluating a system made in Delphi 6, which basically uses a TClientDataSet to open xml files. This system has been running for a long time and is Ok, only an xml file is indicating the "Mismatch in datapacket" error when I try to open it...
asked by 29.11.2016 / 13:17
1
answer

Has the "Pure virtual function called" error already occurred using Delphi 2009? How to solve?

When I click OK on the message, Delphi closes itself. As Delphi closes after the message, and the error occurs in random code lines, I suspect that the problem does not have to do with the program itself. Has anyone ever encounte...
asked by 23.11.2016 / 13:34
1
answer

Problems Printing FastReport

I'm having trouble printing reports with FastReport in Delphi 2010. When printing to the printer the first time, it prints correctly, but the second time that I try to print the report does not print correctly. I do not use dataset in the rep...
asked by 14.12.2016 / 07:44
0
answers

Get Image / Object ID Inserted in a TcxRichEdit

Is there any way to get the ID of an image or object inserted into a RichEdit? I've tried: IDRichEdit[I]:=RichEdit.Lines.Objects[I].GetHashCode; But it gives AccessViolation. Update: The image / object has the following inherent cha...
asked by 09.12.2016 / 12:00
1
answer

How to add a value to DBF

To read the .DBF file work as follows: I use a TADOConnection, ConnectionString to: Driver={Microsoft dBASE Driver (*.dbf)};DriverID=277;Dbq=C:\_workspace\projects\DBFEditor\temp To read the DBF file I use a TADOQuery setting the SQL...
asked by 19.10.2016 / 18:45