Jump to content

Lajos Juhász

Members
  • Content Count

    838
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Lajos Juhász

  1. While mobile platforms are changing every year Delphi Community version is not a viable product. Every version of the mobile platforms requires changes in the development tools and community edition don't cover that. Even with paid versions of Delphi sometimes you have to wait a longer period of time for a solution (fix for the platform change).
  2. Lajos Juhász

    Delphi 11, migrate or wait

    As I wrote a Hello world example will work. In order to break things you have to work on a real application. I am not allowed to publish the source code for any application I am working on. For you maybe it's blablabla for others maybe it worth knowing the state of Delphi 11.
  3. Lajos Juhász

    Delphi 11, migrate or wait

    In Delphi 11 for some cases you have a cycle: compile, make changes, restart the ide, recompile. About the debugger unfortunately it looks like that the developers that should work on that failed to install Delphi 11. Evaluate/Modify, Watch list working only for a Hello World projects. Double click on call stack when the weather is good outside may navigate to the code. Local variables can also display strange values. Also have to use the new broken LSP, sometimes restart of the IDE help other times you just don't have luck with it.
  4. RAD Studio Community edition doesn't support Linux. According to https://www.embarcadero.com/products/delphi/starter/free-download it should have compilers for: Windows, macOS, iOS, and Android.
  5. Lajos Juhász

    Another case of tlsv1 alert protocol version

    Did you have IdSSLOpenSSL in uses?
  6. Lajos Juhász

    Install Delphi Rad 10.3 on new workstation

    Add the folder where the runtime package is to the path.
  7. Lajos Juhász

    Install Delphi Rad 10.3 on new workstation

    It's the same as any other source. You do it in the same way as your own source. You should post what errors you get than we can try to help you.
  8. Lajos Juhász

    Simple JSON parsing

    You're missing not in the if statement (you would like to continue in case when the JSON is correct): var Text: string; Command: string; JsonValue: TJSONValue; JsonValueArg: TJSONValue; begin // parse json JSONValue := TJSONObject.ParseJSONValue('{"cmd":"program.add.text", "txt":"for I := 0 to 100 do"}'); if not (JSONValue is TJSONObject) then Exit; // gets command type (in Command I've found the "cmd" value "program.add.text". ALL RIGHT!!!) if not JSONValue.TryGetValue('cmd', Command) then Exit; // gets command argument txt (does not found the "txt" value and program EXITS!!!) if not JSONValue.TryGetValue('txt', Text) then Exit;  //...
  9. Lajos Juhász

    Parnassus Bookmarks for Delphi 11 Alexandria?

    David Millington gave an update at the DelphiCon 2021. They are working on it: HighDPI + IDE integration delayed the publishing.
  10. Lajos Juhász

    CustomTitleBar bug

    This is a bug in Delphi 10.4. It's working as far as I can test in Delphi 11 (unfortunately the release date of the Community Edition is still unknown). On the other hand there are another bugs in Delphi 11 with custom title bars.
  11. Lajos Juhász

    Has anyone tried "DelphiLSP" for Visual Studio Code yet?

    I didn't tested Visual Studio Code. It uses the same thing. From Delphi 11 unfortunately only the LSP based code completion is available and it's not good enough (capable only to handle Hello World applications).
  12. Lajos Juhász

    10.4.2 Keeps Crashing/Hanging

    I don't use that so no idea. Tried for fun in Delphi 11 to select an instance and hit Search - Find class first time I got: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
  13. Lajos Juhász

    Delphi/FireDAC and Firebird 4

    It was strange that on live panel at an Embarcadero event there was nobody to represent Embarcadero (just to answer technical questions).
  14. Lajos Juhász

    Delphi/FireDAC and Firebird 4

    https://docwiki.embarcadero.com/Status/en/FireDAC_Database_Support Delphi 11 supports: v 1.5 - 3.0
  15. Lajos Juhász

    Bookmarks dead?

    Ok, at DelphiCon2021 David Millington answered that the bookmarks are coming soon, besides the HDPI issue they are working how it will be integrated in the IDE (whatever that means).
  16. Lajos Juhász

    Bookmarks dead?

    First they have to resolve the bugs in the HDPI code in the VCL. I hope that they will resolve some issues in the update 1. *Can someone move the HDPI discussion into a new thread as we are discussing a bit different topic?
  17. You could easily debug and optimize this code. Calling zip.FileNames in the loop is very unhealthy as it will construct the list for every iteration. var lFileNames: TArray<string>; begin var vZipContents := TStringList.Create; var Zip := TZipFile.Create; try if TZipFile.IsValid(fZipfileName) then begin Zip.Open(fZipfileName, zmRead); lFileNames := Zip.FileNames; for var I := Low(lFileNames) to High(lFileNames) do begin vZipContents.Add(lFileNames[I]); end; Memo1.Lines := vZipContents; end; finally Zip.Free; vZipContents.Free; end; end; *(Edit: of course in this code there is no benefit to use vZipContents it would be better to use Memo1.Lines.BeginUpdate and Memo1.Lines.EndUpdate and insert the file names directly to the memo.)
  18. Lajos Juhász

    Bookmarks dead?

    Marco Cantu already mentioned it DelphiCon 2021 on Tuesday that they're working both on the IDE and VCL as they discovered some issues with highDPI (without any details of course).
  19. Lajos Juhász

    Windows 11 checkbox and radio button color

    Most probably every application (I saw Windows 11 on YT videos and https://docs.microsoft.com/en-us/windows/apps/design/controls/checkbox).
  20. Lajos Juhász

    Width of GroupBox on inherited form changes to default in Delphi 11

    It is a known issue set Scaled property to true (on the form). When scaled is false Delphi in some cases ignores the width/height properties. Welcome to the way how Delphi is managing high DPI. Btw. you should report this as far as I known there is no report with Scaled false and TGroupbox.
  21. Lajos Juhász

    Avoiding use of BPLs

    This should fail for exe as since Delphi 7 it can be only used in packages or dlls not executables.
  22. Lajos Juhász

    Why does the form size change? (Delphi 11)

    There is an open RSP for this.
  23. Saves you from declaring the type when it's working (eg. Currency).
  24. program Project1; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; begin try { TODO -oUser -cConsole Main : Insert code here } var x:=5; inc(x, DayOfWeek(now)); writeln(x); if x<5 then {break point here} writeln('x<5') else writeln('x>=5'); readln; except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; end. The debugger will say: 'Symbol was eliminated by linker'. In my opinion it's still not solved in debug configuration. I am still going to wait for fully implemented inline variables.
×