In the delphi source code we have :but I don't understand, they mix Atomic operation (AtomicCmpExchange(Pointer(FBase64Encoding), Pointer(LEncoding), nil) with non atomic operation like if FBase64Encoding = nil then and Result := FBase64Encoding;
My Delphi 10.2.3 app was submitted to Google Play with the fix from this answer: Delphi Android app API level 26? Google Play reported that this build supports over 400 devices.
I have a TPanel with 2 events:When I click on the panel (MouseDown event) the cursor does not change to crSizeAll. What am I doing wrong and how can I resolve this?
I created in Lazarus a new component based on TPaintBox. Now in Object Inspector I have all Properties and Events which belong to this base component (TPaintBox).
I have a project that I once created in Delphi Seattle and I would now like to move to Delphi Rio. I read the directory structure on an external SD-Card using findfirst/findnext
I made a program and it constantly tells me that the number I input isn't an integer.I'm entering 100010110101 and it pops up with this error:
I am developing a small tool using Delphi Pascal to open an XLSX file, and write a cell on it. It behaves differently on a machine using Office 2013 and Office 365.
I'm using Delphi Berlin with default compiler options. I'm doing some bit routines and have a case that where inline changes the answer.
In Delphi, string <> '' seems to generate less code than Length(string) > 0.Comparing for empty string, defined in TMyClass.UpdateString(const strMyString : String):
In Delphi math.pas unit there is a procedure DivMod that i want to convert it into inline and optimize it for divisor to be always 10 . But I dont know details of Pentagon ASM . What is the conversion of bellow procedure