Jump to content

David Heffernan

  • Content Count

  • Joined

  • Last visited

  • Days Won


David Heffernan last won the day on April 27

David Heffernan had the most liked content!

Community Reputation

1312 Excellent


Technical Information

  • Delphi-Version
    Delphi XE7

Recent Profile Visitors

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

  1. David Heffernan

    "Divided by zero" exception

    It's all proscribed by ieee754.
  2. David Heffernan

    "Divided by zero" exception

    Are you talking about maths, or talking about ieee754?
  3. David Heffernan

    "Divided by zero" exception

    Well, this depends on whether or not exceptions are masked.
  4. David Heffernan

    "Divided by zero" exception

    I'm not recommending anything. I'm just stating how ieee754 defines these operations.
  5. David Heffernan

    "Divided by zero" exception

    Well, for ieee754 the former is NaN and the latter is +inf.
  6. David Heffernan

    "Divided by zero" exception

    Do yourself a favour and check whether exceptions are masked in the two programs at the point where exveptions are raised.
  7. David Heffernan

    "Divided by zero" exception

    Probably you are calling some code, typically in a DLL, which changes the floating point control status to mask exceptions. Delphi default is for them to be unmasked, but most other Windows dev tools mask them.
  8. David Heffernan

    Whatsapp solution for Delphi

    Is this based on the WhatsApp API?
  9. Well, Delphi's floating point library isn't threadsafe so they can have a party together!!
  10. David Heffernan

    Is set a nullable type? (record constraint)

    The code fails to compile in XE7 with the same E2512 error. I consider a set type to be a non-nullable value type so this must be a defect.
  11. David Heffernan

    Prevent Alt or Ctrl + Print Screen

    SetWindowDisplayAffinity(Application.MainFormHandle You really need to be calling this method from CreateWnd because of VCL window recreation. Also it's kinda odd that you would use MainFormHandle from a method of the main form. Why not use Handle? But it's important to move that code to CreateWnd.
  12. David Heffernan

    Do bug fix patches really require active subscription?

    You are on subscription when 10.4.2 lands, and then the subscription expires a month later.
  13. Reading Marco's article on the recently released patches for 10.4.2 I noticed this text: Is that right? If you don't keep an active update subscription, you aren't entitled to bug fixes?
  14. David Heffernan

    Find exception location from MAP file?

    Neither is more suited than the other for multi-threaded programs. I don't think your usage scenario is particularly challenging or unusual as you seem to think.
  15. You have already had numerous suggestions that meet all your requirements.