2020欧洲杯时间表

Dark mode beta

You’ve been asking for dark mode for years.
The is finally here.

Change your preferences2020欧洲杯时间表 any time.

Questions tagged [delphi]

Delphi is a language for rapid development of native Windows, macOS, Linux, iOS, and Android applications through use of Object Pascal. The name refers to the Delphi language as well as its libraries, compiler and IDE which is used to help edit and debug Delphi projects.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

DirectSound (8) bad quality MP3

I have a class (old, freeware) that wraps the sound functions of DirectX nicely and allows me to control the volume and stereo of the sound. But the sounds (from MP3 files) sound "washed", compressed, ...
0
votes
0answers
15 views

cross platform solution for memory consumption calulation

I need to create a cross platform application where a WINDOWS function for memory useage has been added. How to replace this code in order to create a version that compiles and works under LINUX and ...
0
votes
0answers
14 views

FMX MacOS64 button click not firing within printing loop

I'm sure this is simple but I've spent hours and am missing the solution. Working in Delphi FMX MacOS64. (This same structure works fine in Delphi VCL). I have a simple while loop that prints a ...
2
votes
1answer
53 views

Pascal/Delphi dynamic array as argument

I'd like to do something like this: procedure show(a : Array of Integer); var i : integer; begin for i in a do writeln(i); end; begin show((1, 2)); show((3, 2, 5)); end. but this is the ...
1
vote
1answer
57 views

Delphi, at design-time, what is the state of ComponentState, ControlState when created with a nil owner?

If a function is executed at design-time, and creates a TComponent / TControl descendant with a nil owner, the following code in System.Classes will not call InsertComponent: constructor TComponent....
0
votes
0answers
36 views

E2250 There is no overloaded version of 'GetProcAddress' that can be called with these arguments

I created dynamic Dll and i was using a method of this DLL in my Delphi Appliction. Iam getting these errors, can't really figure out whats the reason. I declared the method like this TWithdrawMoney ...
3
votes
1answer
81 views

in Delphi, what is the benefit of setting owner as Application instead of nil?

"Application" is part of VCL, and thus is not thread-safe (likely in maintaining a non-thread-safe list of components it owns). The project I'm working on has several instances where Application is ...
2
votes
1answer
46 views

Aggregate of multiple UI controls bound to one database column

I currently have a TDBRadioGroup bound to a CHAR column on the database using the Values property to specify the value stored in the database column for each radio button. Now we have a requirement to ...
2
votes
1answer
86 views

Waiting for a TThread to finish with WaitForSingleObject()

I am creating a thread, and then say want to wait for it to terminate with a WFSO call (simplified pseudo-code below, obviously no one wants to wait on a thread right after creating it). constructor ...
0
votes
1answer
100 views

Is there a solution to the FireDAC CopyDataSet and CopyRecord memory leak?

I have written an application that migrates a series of Paradox tables to a PostgreSQL database. Unfortunately, when importing the data from the Paradox table to the PostgreSQL table, memory ...
0
votes
1answer
26 views

EdsSaveImage throws EDS_ERR_INVALID_HANDLE

I have a Delphi program built around the edsdk. I can take the picture, download the direct jpg of raw files. But when I get a raw (CR2)-file, I can't display the result. Any solution to achieve this ...
2
votes
0answers
58 views

What is the shortest way of getting localized name of builtin Windows user account?

I need to call CreateProcessWithLogonW, for which I need to pass builtin account name (say Administrator). The problem is that builtin account names are localized. For example in French its "...
1
vote
1answer
42 views

Convert c time function delphi

C code looks like this; clock_t clock_start, clock_end; clock_start = clock(); if ((pass = create_pass(100, time(NULL))) == NULL) crate_pass_err("passerror"); What exactly is ...
0
votes
1answer
61 views

Adding Append method to the generic TArray type

I'm trying to add an Append method to the System.Generics.Collections.TArray type. unit uMyArray; interface uses System.Generics.Collections; type TArray = class(System.Generics.Collections....
0
votes
0answers
34 views

When I put Frame2 onto Frame1 the components of Frame2 appear behind the components of Frame1 until I hover them

Basically im trying to get a Pause screen for my Tetris Game with the Gameframe frozen in the background. Problem is that once I put my PauseFrame onto the GameFrame my PauseFrame components are ...

15 30 50 per page
1
2 3 4 5
3031