Lajos Juhász
Members-
Content Count
986 -
Joined
-
Last visited
-
Days Won
12
Everything posted by Lajos Juhász
-
I believe that's the part of the new Embarcadero policy. 0 bugs in Delphi 12 due to the fact that we cannot report any new bugs.
-
Open a second connection to the database and fill the required fields. Here locate is your friend.
-
You should read more carefully the error message. You to open the query using the open method of the TFDQuery instead of ExecSQL.
-
Double click on the FDConnection to open the FireDAC Connection Editor.
-
while not SQLQuery1.Eof do begin currentLine := ''; for i := 0 to sqlQuery1.fieldcount-1 do currentLine := currentLine + ' ' + sqlQuery1.fields[i].asString; memOutput.Lines.Add(currentLine); SQLQuery1.Next; end; The above code doesn't require the Stringlist to iterate the fields of the query. To add a database the documentation states it should be a form of (https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Using_SQLite_with_FireDAC): Database=<path to SQLite database> While you've tried: SQLConnection1.Params.Add('D:Delphi 11 Community\My Projects\Connecting to SQLite\Data\dat2.sqlite'); You should do SQLConnection1.Params.Add('Database = '); append here the real path to the database. I believe instead of MemOutput.ClearSelection you wanted MemOutput.Clear.
-
The windows have to find the bpl (dll) to load it and it doesn't know about the library path.
-
you've to add the folder to the path.
-
A warning Canvas.TextWidth is valid only during painting, otherwise it's not guaranteed that the canvas has the correct font assigned. To be sure you can use https://docwiki.embarcadero.com/Libraries/Sydney/en/Vcl.Graphics.TCanvas.RequiredState.
-
If you want to compare against file mask you should use https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.Masks.MatchesMask. For example: uses System.Masks; procedure TMainForm.TestClick(Sender: TObject); begin if MatchesMask(edText.Text, EdPattern.Text) then lbData.Insert( 0, 'True' ) Else lbData.Insert( 0, 'False' ); end;
-
A short answer is that *.pas is not a regular expression. In this case: * The asterisk indicates zero or more occurrences of the preceding element. For example, ab*c matches "ac", "abc", "abbc", "abbbc", and so on.
-
Can not install Delphi Community Edition 11.2
Lajos Juhász replied to Kurt G's topic in General Help
You can expect Delphi CE 12 in 2024 or 2025. -
sk4d.dll Delphi 12 when app becomes 'SKIA' enabled question
Lajos Juhász replied to rudy999's topic in General Help
The bad news with this change is that the sk4d.dll is not compatible with the dll used by earlier version of delphi. This new version is by default on the path and can cause access violation with older versions of Delphi (for example if SVGIconImageList is installed). -
In my case I've renamed the folder "C:\Program Files (x86)\Embarcadero\Studio\23.0" to "C:\Program Files (x86)\Embarcadero\Studio\!23.0" started Delphi 11.2 Closed it, renamed back the folder since then I can start both versions.
-
I have had something similair. The solution was to rename the D12 folder started Delphi 11.2 and after that I can start both of them.
-
This is off topic but you can try https://appuals.com/how-to-disable-beeping-on-errors-on-windows-7-8-and-10/. Maybe you did: sc stop beep && sc config beep start= disabled
-
If you really have to you can use SMAPI. You can find a code from @Attila Kovacs here:
-
Keyboard commad for paste with text controls [not working]
Lajos Juhász replied to Magno's topic in FMX
You should give more details. I've tested a new Delphi 11.2 application with an edit and a memo. Works perfectly when compiled as 32 and 64 bit Windows application.- 2 replies
-
- fmx
- fmx controls
-
(and 1 more)
Tagged with:
-
Unable to Cast UInt64 to Double on 32bit Compile in Windows 11 ARM: Has Anyone Experienced This?
Lajos Juhász replied to gomsun2's topic in RTL and Delphi Object Pascal
In my opinion this is the wrong place to report the error. Delphi compiles the code correctly, your environment is giving the wrong result eg. it's not a compiler bug. -
Unable to Cast UInt64 to Double on 32bit Compile in Windows 11 ARM: Has Anyone Experienced This?
Lajos Juhász replied to gomsun2's topic in RTL and Delphi Object Pascal
You should try to debug the code. On an Intel Windows laptop I get the correct result '3'. -
Troubleshoot SSL/TLS connection with Indy
Lajos Juhász replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
It should be enough to use IdOpenSSLSetLibPath. -
RCS Chats - Rich Communication Services
Lajos Juhász replied to Angus Robertson's topic in ICS - Internet Component Suite
I refuse to use RCS at the moment -
I need advice on converting a 500k lines 32bit Delphi 7 application to 64bit
Lajos Juhász replied to Yaron's topic in General Help
TNT is compatible with the new VCL components. To replace them you can simply use the refind utility - https://docwiki.embarcadero.com/RADStudio/Alexandria/en/ReFind.exe,_the_Search_and_Replace_Utility_Using_Perl_RegEx_Expressions. The rules are simply for example: #unuse TntExtCtrls #unuse tntButtons TTntEdit -> TEdit TTntStringGrid -> TStringGrid -
In order to do that you have to move your calculation into a background thread. Otherwise your calculation will block the main thread.
-
Delphi compiled EXE are flagged as malware by anti virus software
Lajos Juhász replied to Jaska's topic in General Help
For me there was only two cases of false positive. The last time it was this year MS Defender flagged application to be infected. MS solved it within 2-3 days. -
Delphi version this requires Delphi 10.3 or newer version (https://docwiki.embarcadero.com/RADStudio/Sydney/en/Inline_Variable_Declaration)