Jump to content

David Heffernan

Members
  • Content Count

    3586
  • Joined

  • Last visited

  • Days Won

    176

Everything posted by David Heffernan

  1. In the face of malware, curiosity needs be tempered somewhat.
  2. Astounding that people here apparently followed these links
  3. David Heffernan

    TDateTimeHelper from D11 that can be used in D10.4?

    These are open source projects
  4. David Heffernan

    TDateTimeHelper from D11 that can be used in D10.4?

    I mean, aren't we all people who write code? I find it odd to hear programmers that don't want to program because they aren't able to do it right.
  5. David Heffernan

    TDateTimeHelper from D11 that can be used in D10.4?

    Would be quicker just to write them yourself
  6. David Heffernan

    TDateTimeHelper from D11 that can be used in D10.4?

    I'm not even sure what you are asking us for here. What would a positive outcome to this thread look like?
  7. David Heffernan

    Default(TMyRec) usage

    Nobody expects the Delphi compiler to optimise anything
  8. David Heffernan

    Default(TMyRec) usage

    It depends. If I'm going to initialise every field I wouldn't default initialise. Many of my records have class methods named New that don't default initialise and assign to each field. I wouldn't want to offer blanket advice. Default initialise if you need to default initialise.
  9. David Heffernan

    Corean write in explorer popup menu

    Clearly there's a problem. But nobody knows anything about your code, because you've not shared any actionable details. Surely you understand that we can't guess what's wrong?
  10. David Heffernan

    Corean write in explorer popup menu

    Do we just have to guess what you are doing? Step back, and look at this thread, from top to bottom, and ask yourself how we could possibly say anything about what is happening on your machine. If you genuinely want help, then you need to help us to help you.
  11. David Heffernan

    no success in loading MiniConda with recommended setup

    I can't believe that modifying Windows path could be a wise thing to do in this scenario. Who advises that?
  12. David Heffernan

    TRegEx.IsMatch question

    You didn't specify that the pattern had to exhaust the entire string. Capture the match, look at the match, and see. Use a Web tool to test regex and see the matches. This will help you learn more quickly.
  13. Yeah, I think you can ignore that answer, it's really not relevant to your question. What you are trying to do is possible by iterating over the node and its children. I would start with some code to do that iteration. Do you have such code?
  14. David Heffernan

    File Manifest : changing it does not load new settings.

    I guess I misunderstood when the subject said file manifest. Details are quite important.
  15. David Heffernan

    File Manifest : changing it does not load new settings.

    Why do you have a manifest file. It should be a linked resource. Delete the .manifest file.
  16. David Heffernan

    Searching for full-time remote position...

    Is that in part because of the cost of healthcare in the US?
  17. David Heffernan

    CreateProcess causing some strange Access Violations

    Oh dear, I'm not having a good day. I think that obce upon a time this wasn't documented as such, and I've not kept up. But I could be wrong about that too!
  18. David Heffernan

    CreateProcess causing some strange Access Violations

    Oh. Sorry. My mistake. Only in the Unicode version is an implementation detail though. I wouldn't rely on it.
  19. David Heffernan

    CreateProcess causing some strange Access Violations

    I don't think that's true. You should use UniqueString. But it sounds like this isn't the cause of your problem.
  20. David Heffernan

    CreateProcess causing some strange Access Violations

    The documentation says the first arg is LPCWSTR, pointer to const array. If you want to make a string writeable use UniqueString.
  21. David Heffernan

    CreateProcess causing some strange Access Violations

    First argument of CreateProcess must be writeable? Is it?
  22. David Heffernan

    Searching for full-time remote position...

    The big problem here is that there is no detail. There should be a cv or a link to a linkedin profile.
  23. David Heffernan

    lxml in TPythonThread with Delphi don´t works

    No. CoInitialize doesn't report errors by throwing exceptions. You are expected to check its return value. This is stated clearly in the documentation for the function which is required reading before using it. Let's leave error handling to one side for now though. The try finally pattern is like this. res := acquireResource; try res.doSomething; finally releaseResource(res); end; The try/finally is protecting the code *between* acquisition and release. Therefore the try must be *after* acquisition.
  24. David Heffernan

    lxml in TPythonThread with Delphi don´t works

    This code is wrong. The try is always placed after the resource has been acquired.
×