Jump to content

David Heffernan

Members
  • Content Count

    3710
  • Joined

  • Last visited

  • Days Won

    185

Everything posted by David Heffernan

  1. Kind of an important detail that you slipped in there. I'm going to be blunt here. The process of trying to offer help whereby you provide minimal details and then we try to piece together your environment with a game of 20 questions. Well, it's not productive. You haven't had a whole lot of success in this thread because you have been so economical with these details. Until you address this lack of detail, I predict nothing will change.
  2. Does your code run in the same process as the Delphi program whose properties you are trying to inspect?
  3. If what you are really asking about is the size of the instance, then use InstanceSize to find that out.
  4. It seems like you might have asked the wrong question. It doesn't sound as though the size is that important. What you seem to be after is to capture the control's properties. Is that correct?
  5. How it started. A brilliant tool that was miles ahead of anything else in its main sector. How it's going. A huge pile of bugs that is falling further and further behind the competition.
  6. David Heffernan

    git and Delphi tooling?

    Whilst I am a fan of TortoiseSVN, I am not a fan of TortoiseGit. Having a tortoise in the name isn't enough.
  7. David Heffernan

    git and Delphi tooling?

    They just cloned the typescript repo .....
  8. David Heffernan

    git and Delphi tooling?

    It's easy to backup, and every cloned repo is a backup. It's not an issue particular to source code. Any cloud based storage comes with the same question. On premise has its own issues.
  9. David Heffernan

    git and Delphi tooling?

    Fork is highly regarded. I know that @Stefan Glienke has moved to using Fork having previously used SourceTree.
  10. These doc links explain it Simple Types (Delphi) - RAD Studio (embarcadero.com) Scoped Enums (Delphi) - RAD Studio (embarcadero.com)
  11. David Heffernan

    Year Countsdown

    https://stackoverflow.com/questions/65186802/countdown-timer-in-delphi Please don't cross post, or if you do, refer to the preferred version.
  12. David Heffernan

    Prefix unit local variable names

    Except the reality is that you do take care over the latter case that you use, even though the compiler ignores it. It's somewhat ironic that PascalCase is a thing if letter case doesn't matter in Pascal. When you choose names, you take care over the letter case that you use, and then you try to stick to that letter case when you use that name. Which to me is the clincher in why languages should be sensitive to letter case.
  13. David Heffernan

    ways to organize related code in a form?

    I'm sure @David Schwartz knows what rubber ducking is. If he didn't he'd just have typed it in to a search engine to find out. So I guess he didn't understand how rubber ducking applied here.
  14. David Heffernan

    Running complicated python code from existing TThread hangs

    Doesn't matter how many threads you use. It's an issue with the Python GIL that requires special treatment with threads.
  15. David Heffernan

    Running complicated python code from existing TThread hangs

    thread safe? · Issue #47 · pyscripter/python4delphi · GitHub
  16. David Heffernan

    Multiple Instances of Python Engine

    Do you need multiple modules? You talked about multiple modules to hold different data. But why does the data have to live in a module?
  17. David Heffernan

    How create a website whit Delhpi

    I quoted it in my previous comment. You might want to read it for yourself.
  18. You don't need to know the size of anything to persist properties. The way to do that is to use the streaming framework. There are many example codes on the web. You are probably making a mistake in believing that you need to copy a block of memory. That's not how to do persistence of complex structures.
  19. This is very complex. The answer you link to is the size when serialized. But that bears no real relation to the memory used by the class at runtime. Also there are the system resources that are used. The real question though is what you are planning to use this value for. Knowing that would allow us to understand better how you might solve this.
  20. David Heffernan

    How create a website whit Delhpi

    This is what was stated, @FPiette. What makes you think that there is a large amount of existing Delphi code.
  21. David Heffernan

    How create a website whit Delhpi

    That is beside the point of this topic. Remember what the OP has actually asked.
  22. David Heffernan

    How create a website whit Delhpi

    What the OP is asking for doesn't seem to have any requirement for server side code. Remember that we aren't talking about your requirements, we're talking about those of the OP.
  23. David Heffernan

    How create a website whit Delhpi

    And you don't think that maybe, just maybe, Delphi isn't the best tool for this?
  24. David Heffernan

    How create a website whit Delhpi

    You don't do that with Delphi is the simple answer.
  25. David Heffernan

    Prefix unit local variable names

    a is for argument
×