Jump to content

David Heffernan

Members
  • Content Count

    3586
  • Joined

  • Last visited

  • Days Won

    176

Everything posted by David Heffernan

  1. David Heffernan

    Replacement for TBits?

    How many such instances of this type do you need in memory at any time? And what's the expected number of bits that are set at any time? Do you really need to store all bits, both 0 and 1. Can't you just stor the 1s and infer the 0s from the fact that they aren't stored as 1s?
  2. David Heffernan

    New Code Signing Certificate Recommendations

    Cloud HSM seems like a convenient solution. Seems expensive though.
  3. David Heffernan

    New Code Signing Certificate Recommendations

    They shipped a USB token which arrived next day. And for EV they just called me to confirm some details I provided on my order. Didn't seem very enhanced at all.
  4. David Heffernan

    Access violation in library code

    You've got some memory corruption or broken interface handling code. It could be pretty much anywhere. You might get a better steer using FastMM with full debug options.
  5. David Heffernan

    New Code Signing Certificate Recommendations

    I got an EV cert from globalsign recently and it only took a couple of days from start to finish.
  6. David Heffernan

    W1057 during D7 -> D11 conversion

    OP doesn't want to run multiple machines. It's just one dev that wants to get rid of ancient Win7 laptop. My point is that you can just install D7 on Win 11. If that is helpful.
  7. David Heffernan

    W1057 during D7 -> D11 conversion

    That's not what we are talking about. We are talking about running the ide on Windows 11.
  8. David Heffernan

    W1057 during D7 -> D11 conversion

    Yeah. You just ignore those and generally install to a write able directory, or put a permissive acl on the installation directory. It's been that way for many windows versions too.
  9. David Heffernan

    W1057 during D7 -> D11 conversion

    Really. I'm pretty sure you can run Delphi 7 on Win 11.
  10. They tend not to break things. Also, ignoring affinities would utterly break aot of software, and break some software that set affinities correctly. So, no, this isn't a risk.
  11. Seems unlikely that MS would break its system because some people write crap programs.
  12. David Heffernan

    Handling Python indented blocks with ExecString()

    Is it really the best way to go delphi to python to octave? Must be possible to go straight to octave but far better to use python rather than octave/matlab.
  13. David Heffernan

    Handling Python indented blocks with ExecString()

    Not much use for a REPL
  14. It would be cool to look at the Wine implementation of StrCmpLogicalW and port that to Pascal once and for all for a cross platform implementation. https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/kernelbase/string.c#L1298 Looks kinda simple really
  15. David Heffernan

    W1057 during D7 -> D11 conversion

    Blitting a record to a binary file makes it more tricky. Nobody but you can really know what to do. Perhaps you just carry on and suppress the warnings after localising them. But why go to Delphi 11 then? If you carry on as you are you can't do Unicode. Maybe you don't need international language support. Maybe you don't mind having pre determined max text lengths. But if you want to go beyond these limitations it's going need some thought and design.
  16. David Heffernan

    W1057 during D7 -> D11 conversion

    No. Its perfectly possible to save any string type to a file.
  17. David Heffernan

    W1057 during D7 -> D11 conversion

    Why are you using shortstring? Even in D7 that was not recommended.
  18. David Heffernan

    SDI <-> MDI forms

    Again that's not accurate. Imagine, say, 7 MDI child windows, tiled. You literally can't get splitters in a grid as 7 is prime. I'm not sure anybody that's posted in this thread understand MDI tiling.
  19. David Heffernan

    SDI <-> MDI forms

    What I don't get in all this is that MDI child windows aren't docked. They are typically tiled. Yes there is cascade but surely nobody wants that. Tabbed is clearly superior to cascade. So any discussion about MDI like GUI without true MDI needs to look at tiling.
  20. David Heffernan

    How to Sort TStringList ?

    https://stackoverflow.com/questions/5134712/how-to-get-the-sort-order-in-delphi-as-in-windows-explorer
  21. David Heffernan

    SDI <-> MDI forms

    Here's my MDI app How do I do this with tabs, bearing in mind I want to see both the child windows together.
  22. David Heffernan

    SDI <-> MDI forms

    This is a bit different from what were are talking about in the other topic. MDI is very different from tabbed.
  23. People do see it. If you think society has eliminated discrimination you are deluding yourself. People with privilege find it harder to see discrimination because they don't experience it. I really don't know what to say about this. You think that the slanting towards women in lower paid jobs indicates a great success for equality.
  24. No but I never claimed that. Maybe. But it could well be a factor. It doesn't need to be the only reason for it to be a problem.
  25. This is classic correlation / causation territory
×