delphi-10.1-berlin Questions
1
I create an installation object using a REST API call like this :
curl -X POST \
-H "X-Parse-Application-Id: ${APPLICATION_ID}" \
-H "X-Parse-REST-API-Key: ${REST_API_KEY}" \
-H "Content-Type: app...
Salzman asked 15/2, 2017 at 10:38
1
Solved
When I am using Delphi Berlin 10.1 [weak] (and [unsafe]) reference, the "Supports" function and "QueryInterface" both are incrementing the reference count when given an interface variable marked wi...
Horizon asked 17/2, 2017 at 16:44
2
Solved
In C++ is possible to pass to a function a vector by const reference in this way:
void test(const std::vector<int>& a);
This is useful when the vector is very big and I want to avoid t...
Qualm asked 15/12, 2016 at 8:51
3
In our existing code we have a bunch of these where a form is created with MainForm as the owner (say instead of nil) yet we free it explicitly.
function SomeFunc(): Boolean;
var
form: TMyForm; /...
Erdrich asked 6/12, 2016 at 16:52
2
Solved
Is there a way to invoke Create of the subclass from the parent class? Below there is this Duplicate method in which I want the constructor of the subclass to be invoked instead, so that the test a...
Stravinsky asked 5/12, 2016 at 8:30
1
Solved
It is easy to send a control's scrollbar from the very bottom position to the very top position by sending a WM_VSCROLL message REPEATEDLY to the control:
ScrollBox1.Perform(WM_VSCROLL, MakeWParam...
Discommon asked 5/12, 2016 at 11:42
1
Solved
A. Create a Delphi VCL Forms application.
B. Put a TTreeView on the form, name it tvTest and fill it with items and set the size of the Treeview, so scrollbars are visible on the TreeView, for exa...
Tabu asked 29/11, 2016 at 20:8
2
Solved
One can use either
System.IOUtils.TPath.DirectorySeparatorChar
http://docwiki.embarcadero.com/Libraries/Seattle/en/System.IOUtils.TPath.DirectorySeparatorChar
OR
System.SysUtils.PathDelim
...
Adriell asked 21/11, 2016 at 8:37
1
NEED HELP..I am using delphi 10.1 berlin. There are some different with other previus version of Embarcadero Delphy Code Gear. I need to change font color in rows of TGrid. Whith this next code i w...
Gocart asked 10/10, 2016 at 10:25
1
Solved
Has anyone had this problem ? In design time the button's appearance is normal. However, at runtime it is with the appearance of Windows 98 button.
OS - Windows 7 64bit
Delphi 10.1 Berlin
Telethermometer asked 10/10, 2016 at 13:58
2
Solved
Could you please help me to understand what is going on with FPU Control Word in my Delphi application, on Win32 platform.
When we create a new VCL application, the control word is set up to 1372h...
Impala asked 25/9, 2016 at 6:41
2
Solved
Delphi Berlin 10.1 adds [weak] references. Marco Cantu's Blog has some basics on it.
For my test I created two COM libraries holding two automation object types. The container object holds a list ...
Engineman asked 20/9, 2016 at 13:45
1
Solved
how i get ownership property of Method: TRttiMethod in OnInvoke method of TVirtualInterface class?
I have this interface:
IPerson = interface(IInvokable)
['{45CE428C-F880-4D61-A2C1-0F3CB47130B5}...
Dendrochronology asked 25/8, 2016 at 17:17
1
Solved
I have a COM DLL project, and I am able to debug it (stop at breakpoints) in Delphi 2007 and XE8.
However, it seems to not be possible for the IDE to stop at breakpoints in Delphi 10 Seattle or 10...
Danaedanaher asked 14/6, 2016 at 10:25
4
I got two classes (in my example TObject1 and TObject2) which know each other via interfaces (IObject1, IObject2). As you probably know in Delphi this will lead to a memory leak as both reference c...
Basuto asked 9/5, 2016 at 15:24
1
Solved
I want to use a TParallel.&For loop to calculate, for example, the prime numbers between 1 and 100000 and save all these prime numbers in AList: TList<Integer>:
procedure TForm1.Button1C...
Soria asked 30/5, 2016 at 19:58
© 2022 - 2024 — McMap. All rights reserved.