Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 10/25/21 in all areas

  1. David Heffernan

    Any good replacement for Indy email?

    I strongly recommend that you identify the problem before trying to solve it.
  2. Stefan Glienke

    CharInSet revisited (again)

    Hence my word of warning You might not want to suffer the same amount of pain as I do
  3. Would be nice if they would patch 10.4.x also 😞
  4. mvanrijnen

    Any good replacement for Indy email?

    Can't you be a little more specific which problems you'r having with Indy ?
  5. Details from Marco: https://blogs.embarcadero.com/rad-studio-11-alexandria-patch-1-available/
  6. Charlie Heaps

    Parnassus Bookmarks for Delphi 11 Alexandria?

    OK - so now its about a month since Delphi 11 was releasedand still no sign of these plugins. It's not exactly a great advert for the Getit system (which was supposed to make it much easier to distribute Delphi components and addins) that even Embarcadero hasn't been able to recompile its own tools for distribution after so long. At least they released the KSVC components after a few weeks.
  7. timfrost

    Moving from Per Monitor V1 to V2

    I would suggest that before you claim to support pmv2 you should add a second monitor which you can run at a different DPI, and test everything. This is the best way to be confident that your users will find no surprises in your software. But even then if the user setup differs from yours, it may not be enough.
  8. Lajos Juhász

    CharInSet revisited (again)

    The warning was introduced in D2009 as sets can only contain only ANSI characters not Unicode. CharInSet was introduced that you signal to the compiler that you're aware of the limitation and know what "you think you're doing" and how the compiler will handle the code. Of course they could handle the entire thing differently.
  9. David Heffernan

    CharInSet revisited (again)

    I guess there are scenarios where the warning is useful. Perhaps what they did wrong was not to make it more discerning.
  10. David Heffernan

    CharInSet revisited (again)

    I find that hard to believe. That operation is disk bound, or if the file is in disk cache then it is memory bound.
  11. pyscripter

    CharInSet revisited (again)

    That begs the question why have the warning and introduce CharInSet only to avoid the warning in the first place. Why din't Embarcadero just eliminate the warning?
  12. Stefan Glienke

    CharInSet revisited (again)

    This has nothing to do with CharInSet per se but the fact that the Win64 compiler obviously is doing a poor job inlining it. Win32 code looks like this (i modified it slightly using a loop var rather than increasing the PChar): CharInSet.dpr.18: while not CharInSet(cp[i], [#0, #13, #10]) do 004C999C 0FB71446 movzx edx,[esi+eax*2] 004C99A0 6685D2 test dx,dx 004C99A3 740C jz $004c99b1 004C99A5 6683EA0A sub dx,$0a 004C99A9 7406 jz $004c99b1 004C99AB 6683EA03 sub dx,$03 004C99AF 75EA jnz $004c999b CharInSet.dpr.48: while not (cp[i] in [#0, #13, #10]) do 004C9B5B 0FB70C42 movzx ecx,[edx+eax*2] 004C9B5F 6685C9 test cx,cx 004C9B62 740C jz $004c9b70 004C9B64 6683E90A sub cx,$0a 004C9B68 7406 jz $004c9b70 004C9B6A 6683E903 sub cx,$03 004C9B6E 75EA jnz $004c9b5a Caution: if you go down that road you might feel the urge to rewrite half (if not more) of your code that is using RTL functions because the Win64 compiler does some terrible job on many of them. Edit: reported codegen issue: https://quality.embarcadero.com/browse/RSP-35981
  13. David Heffernan

    CharInSet revisited (again)

    Why not suppress the warning? Or would you then be suppressing valuable warnings too?
  14. mvanrijnen

    Delphi 11.0 has a different form Caption offset than Delphi 10.4

    strange, delphi is not drawing these forms itself? vcl is just a door to the underlaying windows api? or does this depends wether you'r using vcl styles or something similar?
  15. David Heffernan

    CharInSet revisited (again)

    That the set can't have a full range of char values doesn't mean that the char C can't have any value in the BMP. For sure you aren't ever going to find a C that has ordinal above 255 but the value of C may not be known at compile time. For instance you may be looping through the elements in a string.
  16. Make sure that RegisterOldPngFormat is defined in the PngComponents project.
  17. Not sure which of the subforums to post, but here it goes: With great sadness, I just got word from both Julian Bucknall on Twitter and Lino Tadros on Facebook that my dear friend Danny Thorpe passed away on October 22nd, just a few hours ago. Still limited in energy, still recovering from many treatments, I will need to keep it short and hope to gain some more energy and blog a small obituary later. For now, I'm devastated. Loosing a friend and one of the instrumental Delph R&D team members from the days brings so many mixed emotions. I wish his wife Cindy and their loved ones all the best. Rest in peace dear Danny. The world will be different without you. --jeroen Referencs: - https://twitter.com/JMBucknall/status/1451674438097854464, https://twitter.com/jpluimers/status/1451677770552123399 - https://www.facebook.com/lino.tadros/posts/10158270097971179, https://www.facebook.com/cindy.f.thorpe/posts/10224108253026657
  18. Lars Fosdal

    Rest in peace dear Danny Thorpe

    Danny Thorpe was one of the pillars that Delphi is founded on. A giant among giants. His legacy is solid and we will remember him with love and respect, and send our condolences to his family.
  19. mvanrijnen

    Any good replacement for Indy email?

    Here the same, only for O365 i have build a "proxy" in C#, we use EWS for that now. (Exchange Web Services (EWS) Managed API reference | Microsoft Docs)
  20. David Heffernan

    Any good replacement for Indy email?

    It's plausible that Indy isn't the problem here and that a wholesale library replacement will leave you with the same problems.
  21. We use this component with D2007. It appears to support most versions of Delphi. https://winsoft.sk/webview.htm
  22. Uwe Raabe

    Parnassus Bookmarks for Delphi 11 Alexandria?

    Probably there are reasons...
×