Jump to content

M.Joos

Members
  • Content Count

    45
  • Joined

  • Last visited

  • Days Won

    1

M.Joos last won the day on February 19

M.Joos had the most liked content!

Community Reputation

23 Excellent

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. Indeed, this is then called "false sharing" and is very well explained from Microsoft's C++ Herb Sutter with an overview here: https://herbsutter.com/2009/05/15/effective-concurrency-eliminate-false-sharing/
  2. M.Joos

    QueryPerformanceCounter precision

    For those of you who really wabt to dive deep into timing on Windows I can highly recommend this project with lots of background information: http://www.windowstimestamp.com/
  3. For inspiration you may also look into this excellent answer from Uwe Raabe on Stackoverflow on a related question: https://stackoverflow.com/questions/47347578/manually-skip-a-component-from-being-created-from-the-dfm which also shows a hacky way to prevent components from getting created. I guess Uwe wasn't aware of his answer more than 3 years ago 😉 As for loading the dfm from the resource that's in the executable have a look at http://docwiki.embarcadero.com/Libraries/Sydney/de/System.Classes.TStream.ReadComponentRes
  4. I guess it is theoretically possible to shoehorn Delphi's streaming mechanism to do what you want. Essentially you could just reread your form with an adjusted TReader. Specifically you would not want for the components to be recreated. Have a look at the TReader events, specifically TReader.OnCreateComponent One problem though is how to "skip" rereading of components as you want to only select a number of components.
  5. In a similar vein, @Eric Grange saved my last week with his SamplingProfiler (https://www.delphitools.info/samplingprofiler/). A good example of a KISS tool - just the right amount of information needed, and really simple to use. So a big thanks from me to Eric Grange.
  6. M.Joos

    Using ClientDataSets

    Have a look here: This is a talk from Cary Jensen about nested ClientDataSets - the same author you have that excellent book from.
  7. M.Joos

    full screen view capture

    Unfortunately this is for Windows only - The OP is interested in something for Android if you look at the screenshot in his post.
  8. If the stream of data is a mix of characters and binary data I would strongly recommend not using string to hold the data. A (unicode) string should only be used for character data otherwise you can expect a lot of unforeseeable surprises.
  9. 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?
  10. 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?
  11. 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 :
  12. 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.
  13. 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 !
  14. 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 ?
  15. 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.
×