Jump to content

David Heffernan

Members
  • Content Count

    3513
  • Joined

  • Last visited

  • Days Won

    174

Everything posted by David Heffernan

  1. David Heffernan

    Working with Delphi and Excel

    No. It is not possible to read an excel file without opening it. However, I suspect that what you actually want to do is to read such a file without using an Excel process via its COM API. If that is what you want to do then it is indeed possible.
  2. If there are faster asm versions in the system unit, that work on x64, then they will be used. But you can't compile an x86 asm procedure in x64 and expect it to work. You need a bespoke x64 version. In other words, I don't think what you describe is going to be possible. What is your specific performance issue?
  3. David Heffernan

    Embarcadero 11.1 access violation coreide280.bpl

    My user is administrator, but because of UAC I run by default with restricted rights, as a standard user. Only if necessary do I run a process elevated. Do you have UAC disabled?
  4. David Heffernan

    Embarcadero 11.1 access violation coreide280.bpl

    Why? We stopped doing that when Vista came out.
  5. difficult to reconcile these two snippets
  6. David Heffernan

    Using lame_enc.dll to encode to MP3

    Did you submit a PR for these changes?
  7. David Heffernan

    Using lame_enc.dll to encode to MP3

    Did you submit a PR for these changes?
  8. David Heffernan

    2022 Stack Overflow Developer Survey

    These sort of shitty posts are precisely why SO ask these questions.
  9. I guess you should just hire a programmer to do the work for you, if you don't know where to start. You already suggested this. Do a kickstarter or similar.
  10. David Heffernan

    2022 Stack Overflow Developer Survey

    I presume that they are concerned that their community isn't discriminating against any particular groups of people.
  11. It's just a lexicographic order. If the primary comparison is equal, move on to the secondary etc until you separate the teams.
  12. David Heffernan

    Windows APIs?

    Delphi can access all Windows APIs and the best reference is MSDN.
  13. David Heffernan

    ExtractFileDir

    Er, yes, that's what I meant to type
  14. David Heffernan

    ExtractFileDir

    Isn't it ExtractFileName(ExtractFileDir(ExeName))
  15. David Heffernan

    Maximized the main form

    Does this happen with a brand new VCL app with a single form that does nothing? If not then the answer is specific to your code.
  16. David Heffernan

    Maximized the main form

    This should not be necessary. It also seems like there would be scenarios which this would stop the user doing things they want to do.
  17. David Heffernan

    TortoiseGit with Delphi 10 Seattle

    Why would you try to put these two together. You use TortoiseGit inside explorer surely.
  18. David Heffernan

    Does ProgressBar Inside StatusBar Still Working?

    I also owner draw into a status bar panel for this need. It's pretty straightforward.
  19. David Heffernan

    Survey of Delphi Versions in use??

    No they don't. I'm talking about actual statisticians as in a branch of mathematics.
  20. David Heffernan

    New Delphi job opportunity

    It just seems so weird to me that there is such a thing as a Delphi developer. Are companies really not prepared to teach people? How can it be harder to learn a new language than to learn a new code base? Nothing here computes to me.
  21. David Heffernan

    Exception class EConvertError issue

    Bug in your code. Show a minimal reproduction.
  22. David Heffernan

    ImageLists. One or Multiple??

    As an aside what annoys me about image lists in Delphi is that they lump all images in one big dfm blob. I like to keep my icons in icon files and link them as a resource. Then load them up at runtime. It means that when you need to update one you just change the ico file in one place. But then you don't get to see icons at design time. I'd like to have my icons in resources and see them at design time. Such a system must be possible.
  23. David Heffernan

    A question for thread reference

    Multithreading in Python is inevitably blocked by the GIL. Nothing you can do about it. No magic solution. See countless discussions of this topic on the broader internet. In other words the issue is not related to Delphi or p4d but is a fundamental design choice in Python.
  24. David Heffernan

    Survey of Delphi Versions in use??

    This question is the one that drives statisticians around the world completely mad. You need to decide on your goals before deciding what data to collect.
  25. David Heffernan

    Record / Class

    Why return a pointer to self? You just risk having that pointer outlive the record instance. Make this a constructor or a static class function that returns a new instance. BTW I remembered wrongly before. No need for a helper to implement a static class function that returns rTxt.
×