Jump to content

Kryvich

Members
  • Content Count

    439
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by Kryvich


  1. 11 hours ago, balcol said:

    In DAV_Compiler.inc file, try adding the following code right after the {$IFDEF VER350}..{$ENDIF VER350} block:

        {$IFDEF VER360} // RAD Studio 12 Athens
          {$DEFINE BDS}
          {$DEFINE COMPILER27}
          {$IFDEF BCB}
            {$DEFINE BCB27}
          {$ELSE}
            {$DEFINE DELPHI27}
            {$DEFINE DELPHIRX2} // synonym to DELPHI27
            {$DEFINE DELPHICOMPILER27}
          {$ENDIF BCB}
          {$IFDEF CPUX64}
            {$DEFINE 64BIT}
            {$DEFINE CPU64}
            {$DEFINE CPUx86_64}
            {$UNDEF CPU386}
            {$UNDEF CPU32}
          {$ELSE}
            {$DEFINE 32BIT}
            {$DEFINE CPU32}
          {$ENDIF}
          {$DEFINE RTL350_UP}
          {$UNDEF UNKNOWN_COMPILER_VERSION}
        {$ENDIF VER360}

    This is the same code, only {$IFDEF VER350} is replaced with {$IFDEF VER360}.

    See Compiler versions: https://docwiki.embarcadero.com/RADStudio/Athens/en/Compiler_Versions

    • Thanks 1

  2. The beauty of open source libraries is that you can update and recompile them yourself for a new version of Delphi.

    There are no major differences between 11.3 and 12.1 that would prevent an upgrade. 

    A month and a half ago I installed the new version of Delphi CE 12.1 myself. I use some unsupported opensource libraries in my programs. To recompile them, all I had to do was add a few defines.

    However, I have not uninstalled the old version of CE yet, and I currently have both Delphi 11.3 and Delphi 12.1 installed on my home computer.

    My Delphi 11.3 key will be valid for another 227 days.

    P.S. Which Open Source library do you use in your program?

    • Thanks 1

  3. There are no major language and RTL differences between Delphi 10.4 and 11. At the same time, the new version is more stable, has better HighDPI support, improved LSP based ErrorInsight...

     

    There is no reason to stay on the old version of Delphi. Only if you have specific requirements that do not allow you to switch to a new one.

    • Like 1

  4. I tried Bing AI to convert from C to Delphi and it worked quite well. However, I converted individual functions, not the entire library.

    • Like 1

  5. I have just installed a new Delphi 11 Community Edition. And I see something similar with positions of non-visual components (MainMenu, ActionList, OpenDialog etc.) on my form in the VCL Form Designer. Positions are shifted when opening and saving the form.

     

    When I compare DFM files, before and after saving, in the new file, the explicit dimensions (ExplicitWidth, ExplicitLeft) differ from those in the old file. For. ex. in the old file:

    ExplicitWidth = 1630
    ExplicitLeft = 1306

    In the new file:

    ExplicitWidth = 1272
    ExplicitLeft = 948

    Workaround: Immediately after opening your form in the designer, click Save to correct the positions of the non-visual components.


  6. I just tried the PlusMemo editor. Looks very interesting. Loads a text much faster than standard Windows RichEdit. The Win32 version failed to load large files, but a 50MB XML file can be loaded, plugged in a highlighter, and edited comfortably.

     

    Conclusion: it's a great rich text editor, thanks for bringing it to our attention! And thanks to the developers for open sourcing it!

    It would be great to see it on Github.

×