Jump to content

M.Joos

Members
  • Content Count

    37
  • Joined

  • Last visited

Community Reputation

16 Good

Technical Information

  • Delphi-Version
    Delphi 10.3 Rio

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. About DWscript: You said it is not cross-platform yet , does that mean that someone is already working on making it cross platform? And what is it that makes it so Windows specific?
  2. Strange, double clicking on the editor tabs closes the tab in my setup - I wonder if any of GExperts / CNPack catches the double click and does the closing?
  3. For those of you who are more interested about the differences in class vs. interface inheritance, here is a transcript from several live chats with the founders of Delphi: http://edn.embarcadero.com/article/20384 For those that don't want to read all (but it intersting anyway) here is the gist from Chuck Jazdzewski :
  4. M.Joos

    Your RAD Studio 10.4 Sydney issues

    I found another fork, just for the Liveblame feature I was looking for: https://github.com/MJSt/DelphiVersionInsight It was a peace of a cake updating that one. And it seems to work in 10.4 as well.
  5. M.Joos

    Your RAD Studio 10.4 Sydney issues

    Thanks Uwe, unfortunately I forgot where I got the version for 10.3. I already installed MMX, and that runs smoothly so far - thanks for taking care of MMX, Uwe !
  6. M.Joos

    Your RAD Studio 10.4 Sydney issues

    The error looks very similar, although in my case the out of bound list index was 7 instead of 5. But in my case I found the culprit elsewhere - It was the Version Insight Ide Plugin from the other Uwe. Do you by any chance have a version of it that installs out of the box into 10.4 ?
  7. M.Joos

    Your RAD Studio 10.4 Sydney issues

    Thanks Dalija, indeed I have multiple IDE plugins installed. It is quite likely that these are the culprit. Maybe I should have a closer look at what exactly gets migrated and uncheck probably those that might be porblematic. And thanks for the trick of just deleting the registry key. I let you know how it turned out.
  8. M.Joos

    Your RAD Studio 10.4 Sydney issues

    I just ran the migration tool and wanted to transfer my settings from 10.3 to 10.4. Now at startup of 10.4 I get a "Index out of bounds error" with succesive "Interface not supported" errors. The Ide does not start any more. Does anybody have any ideas? Is there a way to undo the migration ? TIA
  9. I would not draw directly on the canvas. Use TShapes. You may also want to have a look at this selection component that is part of FMX: TSelection
  10. You are right, Uwe. Tested it in 10.3.2 and it works as expected. Upon closer inspection it seems they fixed the Tinterlocked code which in Berlin looked like this: $ELSEIF Defined(X86ASM)} asm AND EDX,31 LOCK BTS [EAX],EDX SETNC AL end; {$ELSE} var and in Rio looks like this: {$ELSEIF Defined(X86ASM)} asm AND EDX,31 LOCK BTS [EAX],EDX SETC AL end; {$ELSE} Okay, and I thought I would be crazy or something
  11. Hi all, when running the following code program Project105; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils, System.SyncObjs; var Sync: Integer; Test: Boolean; begin try TInterlocked.BitTestAndClear(Sync,0); Test := TInterlocked.BitTestAndSet(Sync,0); if Test then writeln('Why is Test true here ??') else writeln('Okay, That''s what I expected'); readln; except on E: Exception do Writeln(E.ClassName, ': ', E.Message); end; end. Why is it that the variable Test is set to true, when the documentation says ".... The method returns True if the bit is 1, False otherwise ". Clearly I have set the bit to 0 with TInterlocked.BitTestandClear, haven't I ? What am I missing. Tested with Delphi 10.1 Berlin.
  12. That's nifty ! I will put that one to my toolbox.
  13. M.Joos

    FMX Platform Frame design

    This is by design and not a specific problem of frames. So you cannot have platform specific design with frames. But maybe the approach suggested by Ray Konopka may work for you. He had given a session at Coderage 2018 called "Mobile View Management" in which he proposes an alternative to using frames. You can find the replay here: https://www.embarcaderoacademy.com/courses/441209/lectures/8426275 (You need to sign up for free in order to be able to watch the replay)
  14. That sounds like a feasible fix. Let's wait and see what they come up with in a hot fix.
  15. I have not installed 10.3.2 yet, so don't have the source code to look at TfieldCache. But yes it makes a lot of sense to cache the Field addresses of a class, as in a typical form loading scenario you have multiple instances of the same class, so that the expensive code to determine the Field address is not repeated over and over again. Unfortunately as Remy showed, this introduced some severe bugs, so I would expect a hot fix for 10.3.2 very soon. Hopefully they can fix TfieldCache rather than rolling back to the 10.3 approach for FieldAddress.
×