delphi-xe3 Questions
3
Solved
Beware of Exit command usage in inline functions! I have been using Delphi XE3 here.
Symptom
In certain circumstances, when a call is made to an inline function that contains Exit command, and th...
Nurse asked 7/6, 2015 at 9:30
2
Solved
In Winapi.Windows.pas of Delphi XE3, many C types that were formerly defined as PWideChar and PAnsiChar now are defined as MarshaledString and MarshaledAString respectively (e.g. PWChar, LPSTR):
...
Apologia asked 12/11, 2012 at 21:12
1
Solved
I've encountered some strange behaviour of delphi XE3 compiler (i compile for x86 architecture).
Imagine i have class with one field - custom record with several field of simple types:
TPage = cla...
Ultraviolet asked 8/11, 2021 at 11:43
3
Solved
So in VCL, one would use the following line of code to retrieve the applications path:
ExtractFilePath(Application.ExeName)
I tried the same thing Firemokey and I noticed that ExeName was no lon...
Kaplan asked 5/3, 2013 at 8:24
5
In my project, i'm trying to connect one more UNIT, named Lang_Unit.pas with some classes and procedures, but, while compiling the Project, Delphi gives unknown error called "[dcc32 Fatal Error] L...
Russon asked 26/7, 2013 at 19:30
4
Solved
How we can generate randomize number between a range in the Float numbers (in delphi xe3) ?
For example, randomize number between [0.10 to 0.90].
I need give results like:
[ 0.20 , 0.32 , 0.10 , ...
Zakarias asked 6/12, 2012 at 22:10
3
Solved
My JSON object looks like this:
{
"destination_addresses" : [ "Paris, France" ],
"origin_addresses" : [ "Amsterdam, Nederland" ],
"rows" : [
{
"elements" : [
{
"distance" : {
"text" : "504...
Prandial asked 16/10, 2013 at 23:18
6
Solved
As already asked David in a comment of an answer here, I'm really interested on how this function works, since I can't seem to get the same (correct) values if changing result length from 32 to 16 ...
Scottscotti asked 26/1, 2014 at 9:5
2
Solved
I always understood class helpers as extension classes, or partial classes. They act like an expand for the code of the original base class. If I copied the interface part of code and add it to the...
Surakarta asked 13/3, 2019 at 14:25
2
Solved
I have been making an application at Delphi XE3. I am trying to display values from database to the TAdvStringGrid component placed on the form. I am using dataset to display results at TAdvSTringG...
Proteose asked 6/9, 2013 at 9:58
3
Solved
We are currently in the process of switching from Delphi XE to Delphi XE3, and we are having serious problems with our pre-build-events.
Our pre-build events look like this:
SubWCRev "<SVN-Pa...
Clothesline asked 14/2, 2013 at 13:4
2
Although I realise that in addition to the included Delphi docking demo there are other and better docking libraries available such as the Developer Express Library and the JVCL Docking Library, bu...
Ostyak asked 4/1, 2013 at 16:17
4
Solved
If you work with php you can see the php have associative array (or array width string key) in programing lang.
For example:
$server['hostname'] = 'localhost';
$server['database'] = 'test';
$serve...
Edithe asked 7/12, 2012 at 15:0
2
Solved
I want to create *.bpl file but I am failing to do so.
Specifically, I am trying to make JEDI plugins, but I have tried an empty pure Delphi package, too.
If I create a new package in Delphi XE3, I...
Gaberdine asked 7/12, 2012 at 22:54
4
Solved
I would like to know how to calculate the time consumed for a function in Delphi.
Then I wanted to show the used time and compare it with another function or component so as to know the faster fun...
Rajewski asked 7/6, 2013 at 12:39
3
Solved
Need to add many items (more than 10k) in TComboBox (I know that TComboBox is not supposed to hold many items but its not up to me to change this) without adding duplicates.
So I need to search the...
Distressful asked 12/9, 2017 at 15:3
1
Solved
I am using the following Procedure to identify the controls under my mouse in Delphi XE3. All works well for vcl.contols. However when the mouse is over a TImage, no control name is returned.
proc...
Wolford asked 6/8, 2017 at 13:41
2
Solved
I was reading SysUtils when I came across with this function:
function ALR: Pointer;
var
LibModule: PLibModule;
begin
if MainInstance <> 0 then
Result := Pointer(LoadResource(MainInstance...
Mordecai asked 10/9, 2013 at 13:18
4
As a test I decided to create a simple "Hello world" app in Delphi using Delphi 4, 5, 6, 7, 2005, 2010 and XE3. The app is nothing more than a TForm, a TButton with an OnClick event that calls Show...
Expectation asked 4/5, 2013 at 18:42
3
Solved
Every time I type if and press the space bar, Delphi completes it with if True then and a new empty line above.
Is there a way to remove this "autocomplete" feature or at least edit it to not crea...
Quoth asked 24/5, 2013 at 14:54
2
My product is being migrated from Delphi 6 to the newer Delphi XE3. The Delphi 6 compiler used to output list of files that were compiled to an executable:
Borland Delphi Version 14.0
Copyright (c...
Dennett asked 8/10, 2015 at 11:19
2
Solved
Every now and then I use the watch window to display strings which contain sql statements.
Now I select Copy Value from the context menu and get
'SELECT NAME FROM SAMPLE_TABLE WHERE FIRST_NAME ...
Dwan asked 14/10, 2015 at 9:20
1
Solved
The background for this question is ... I'm trying to port the C function int popcount_3(uint64_t x) from the Wikipedia: Hamming weight, but its algorithm is not the focus of this question.
Let's ...
Thereupon asked 5/9, 2015 at 8:10
1
Solved
I'm trying to generalize the content validation of visual components with the Text-property using RTTI but when I try to pass a string value into TRttiMethod.Invoke, I get the Message "Invalid Type...
Solarism asked 4/9, 2015 at 8:32
2
Solved
I would like to know how I can find out which ports a program / process uses. I want to know the used ports from one process and write then in a label.
Is there a unit or function that is availabl...
Leatherleaf asked 5/6, 2013 at 12:12
1 Next >
© 2022 - 2024 — McMap. All rights reserved.