Jump to content

David Heffernan

Members
  • Content Count

    422
  • Joined

  • Last visited

  • Days Won

    27

David Heffernan last won the day on September 19

David Heffernan had the most liked content!

Community Reputation

316 Excellent

2 Followers

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

    AES Encryption - FMX

    Encryption is agnostic of framework. I don't see how you could have a VCL only encryption library. You don't need design time components.
  2. David Heffernan

    FastMM4 and False Positives

    Component vendor is wrong.
  3. Timers are for GUIs. MsgWaitForMultipleObjects is one sound way to implement a message pump on a thread that needs to do tasks periodically.
  4. No you won't. There are plenty of timer free solutions I would expect. Very hard to give advice without context. And very hard to explain why messages are missing with only a partial extract of code. Anyway, good luck.
  5. A complete repro is probably necessary here. A timer seems needless. Just keep track of the time when you last flushed and do it again once a second has elapsed.
  6. You reap what you sow. Don't create multiple variables with the same name.
  7. David Heffernan

    Setting Environment Variables

    Don't think that's true. That's the point of the broadcast message. The shell updates its environment and uses that when creating new processes.
  8. David Heffernan

    Setting Environment Variables

    Did you do any debugging? Did you check that the registry was modified as intended? Reference back to https://docs.microsoft.com/en-gb/windows/win32/procthread/environment-variables
  9. David Heffernan

    Setting Environment Variables

    You code runs the risk of hanging when it broadcasts. But the basic concept is correct albeit poorly implemented. Have you done any debugging?
  10. David Heffernan

    Application blocking (suspended)

    The answer in that link appears factually misleading at best, probably downright incorrect.
  11. David Heffernan

    Which rise no problems ?

    Provide a minimal complete reproduction.
  12. David Heffernan

    Rules for changing cursor to HourGlass and back

    This approach is what you take when you hate your users. They can't tell whether or not your program is stuck in a non terminating loop, and the OS asks if you want to terminate the program. So only do this if you want to make your users suffer.
  13. David Heffernan

    Which rise no problems ?

    Don't change libraries and hope. The library you use is known to work well. There's a defect in your code. Work out what it is. Trial and error never works out. Provide a minimal yet complete program ideally a console app. Then you can hope for some help.
  14. David Heffernan

    Rules for changing cursor to HourGlass and back

    Why would that be odd? That's pretty much a canonical use of try finally.
  15. David Heffernan

    Delphi-neon, any thought?

    Jokes aside, any user that feels that the testing could be broadened can write some tests and submit a PR.
×