Jump to content

David Heffernan

Members
  • Content Count

    3410
  • Joined

  • Last visited

  • Days Won

    169

David Heffernan last won the day on March 5

David Heffernan had the most liked content!

Community Reputation

2258 Excellent

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

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

  1. David Heffernan

    Delphi 12 does not catch EXCEPTIONS ANYLONGER.

    The point I think is that FMX projects masked exceptions previously by accident rather than design. Why should making an empty FMX project bring in all those units and change the floating point control state? I understand why the change to the default was made. I kind of agree with it. But changing your code to match isn't always going to be easy. I think it would be a huge task for any code base that is heavily numerical. I certainly wouldn't change.
  2. David Heffernan

    Delphi 12 does not catch EXCEPTIONS ANYLONGER.

    I was interested to see different behaviour between VCL and FMX on Windows, in pre Delphi 12. I'm not sure that this is especially intentional. It happens because FMX.Platform.Win uses FMX.WebBrowser which uses FMX.WebBrowser.Win which uses System.Win.InternetExplorer which does this in its initialization FSetExceptMask(femALLEXCEPT); I guess it does this because this the IE library implementation expects exceptions to be masked. Similarly a default FMX app will use Winapi.EdgeUtils which also masks exceptions for the same reason. I actually think it makes sense to have all platforms behaving the same way and exceptions being masked by default. That being the platform standard on all of these platforms. Myself, I'm going to keep unmasking exceptions because my codebase relies on that. I hope that the Delphi RTL will continue supporting being used with exceptions unmasked.
  3. David Heffernan

    What new features would you like to see in Delphi 13?

    I don't think that's the case. If you need to interface with a C++ codebase, then you need to create either a C wrapper, or a COM wrapper, but in each case you aren't limited to C++Builder. Whichever compiler you use to compile the C++, you compile the C wrapper, or the COM wrapper. The point is that the C or COM wrappers are compiler agnostic. But C++ code is, in general, not compiler agnostic. So you just need to compile your wrapper in the same toolchain as the C++ library. There are actually tools to create such wrappers. I'm thinking of SWIG. But there's no way that there's going to be a Delphi produced which can consume C++ libraries compiled by some arbitrary C++ compiler.
  4. David Heffernan

    What new features would you like to see in Delphi 13?

    Because Delphi 1 could import functions from DLLs.
  5. David Heffernan

    What new features would you like to see in Delphi 13?

    That's inevitable though isn't it. Because OpenCV is written in C++. For which there is no single binary interface.
  6. David Heffernan

    What new features would you like to see in Delphi 13?

    This can already be done, and has been possible since Delphi 1
  7. David Heffernan

    Help for python code

    How much are you prepared to pay? What exactly does the job entail? You may be better asking directly on sites that are designed to put together people looking for contract programmers. Are you asking any more than you did here:
  8. David Heffernan

    Delphi and "Use only memory safe languages"

    It's not safer than C++, it's exactly the same as C++
  9. David Heffernan

    Delphi and "Use only memory safe languages"

    This is so stupid. Delphi and C++ are exactly the same in this regard.
  10. David Heffernan

    Toolbar + ToolButton + TitleBar flicking

    In 2147 people will still be suggesting setting DoubleBuffered true to solve flicker problems rather than fixing the actual problem
  11. David Heffernan

    Toolbar + ToolButton + TitleBar flicking

    Title bar panel is effectively VCL styles because theres no api for that, I think. So you probably just have to suck it up.
  12. David Heffernan

    BringToFront alternative

    Late information boo
  13. David Heffernan

    Delphi 12: internal errors

    You should report these as bugs to Embarcadero, but unfortunately they've been unable to provide a mechanism for reporting bugs for last past few months.
  14. David Heffernan

    Delphi and "Use only memory safe languages"

    I guess ARC per-se wasn't the big problem, it was more the attempt to support ARC compilers and non-ARC compilers with the same codebases??
×