Jump to content

dummzeuch

Members
  • Content Count

    2977
  • Joined

  • Last visited

  • Days Won

    106

Everything posted by dummzeuch

  1. Delphi 7 was released in 2002! You're thinking about Delphi 2007.
  2. I'm pretty sure it didn't. If was released only a few months after Windows XP.
  3. Some configuration files, as Lars said. Edit: I just checked: It's the .dst files which store the desktops and a delphi32.dsk file which stores the recently used files and other information.
  4. Program Files is handled special by Windows 10, so changing the permissions might still not be the same as using a different directory. I'm not saying that's the cause, but it might well be it.
  5. I have not noticed any slow down in D7 compile speed when i upgraded my development computer from Windows 8.1 to 10. What stands out about your installation though is that it is located under "program files (x86)". Mine isn't because D7 writes to its installation directory. So maybe that has something to do with the slow down you experience?
  6. dummzeuch

    TEdit with enhanced keyboard support?

    Isn't a single line edit part of synedit?
  7. dummzeuch

    Automated Way to Detect Interface Breaking Changes

    As far as I remember with packages it's the same as with units: If you don't change the interface section, you don't have to recompile depending units. For packages the dcp file contains the interface sections of all units in the package.
  8. TDbf is an open source library to access Dbase tables. It's released under the LGPL license (which makes in impractical for most commercial Delphi development). It is also used in Lazaraus (I haven't checked the license there, but apparently you can develop commercial programs with it.) The project seems to be rather dead though. Apparently nobody noticed ... https://blog.dummzeuch.de/2018/12/26/tdbf-packages-for-delphi-10-3-rio/
  9. I just created packages for Delphi 10.4 by copying and adapting the Delphi 10.3 packages. I also added it to the include file. I did this using a text editor, because I currently don't have access to a Delphi 10.4 installation. That means that I cannot test whether it compiles and works. Please update to the latest sources, open the Delphi 10.4 group project and try to compile the packages. Please tell us whether it worked.
  10. No, this would mean that somebody could create a plugin for a commercial program (of a third party) and release it under the GPL. And then this would force that commercial program to also fall under the GPL. But we degress, this is about the MPL, which is a lot less strict.
  11. The MPL only requires you to provide the sources that are licensed under the MPL, unless you modify the original. In that case you must also make those modifications available. It does not require you to make the sources of your program available. It also doesn't matter whether or is linked into the executable or called as a DLL, so no need to isolate it as a DLL. (Disclaimer: I'm not a lawyer. This is how I understood the license text.)
  12. No, it wasn't removed, it works for me. No idea why it doesn't work for you though. If i remember correctly there is a setting to turn it off, but the default is turned on.
  13. Maybe one of the first things somebody could contribute, are English translations of the comments then. 😉
  14. That "Python project" is PyScripter, one of the most popular IDEs for Python developments. GitHub makes branching so easy, everybody and his brother seems to create his private branch of basically every library in existence, which makes it difficult to see if there is such a thing as an "official" repository. So, welcome to branching hell. 😉 Which version you chose might depend on how much you need / value backwards compatibility. Last time I looked, SynEdit was backwards compatible to at least Delphi 6, SynEdit-2 only to some XE version. SynEdit-2 focuses more on keeping up with the latest Delphi versions.
  15. It's probably just a matter of adding a conditional define to some include file. Maybe - probably at some time in the far future - I fill find the time to future proof the include file to not require an update every time a new Delphi version is released.
  16. The Help has the following to say about System.GetMemory: From that description, I assumed that this function raises an EOutOfMemory if it cannot allocate a block and so I don't need to check whether it returns NIL. Apparently that's wrong. My program just requested a block of 35880960 bytes (for the 50th time, yes that makes 1.7 gigabytes and it's quite possible that it run out of memory) and the function returned NIL on this call any any subsequent calls with that size. Am I missing something here?
  17. No, it's not. There are at least two actively developed forks on GitHub: https://github.com/SynEdit/SynEdit https://github.com/pyscripter/SynEdit-2 The first one is the "Original". I use it GExperts for all Delphi versions from 6 upwards.
  18. dummzeuch

    Grid Sort indicator

    The nineties called and wanted their sort indicator back. I'm sure I must have code for that somewhere. It was pretty common back then.
  19. dummzeuch

    CodeFormatter removes indentation from within comment

    Please file a bug report on sourceforge if you have not already done so.
  20. I'm not aware of any tool that allows this. And I don't know the mechanism behind it. Is there a menu entry that does the same? If yes, you could assign a keyboard shortcut to it.
  21. dummzeuch

    RansomWare blues

    Definitely the way to go. Trying to clean up an infected system is way more dangerous than rebuilding from scratch. And you could never be certain you removed everything.
  22. dummzeuch

    RansomWare blues

    Do you mean you had your Windows computer directly connected to the internet and RDP activated? In my eyes that's disaster waiting to happen. There apparently is a big market for RDP addressee and accounts and they are even cheap (Heise online had an article on that today (in. German).)
  23. dummzeuch

    Should I use path in $Include file or not

    Why do you use .pas as the file extension? I have never seen anything else but .inc for include files (OK, there is also .tpl but that's a very special case) Regarding the use of the search path: The IDE uses it for include files and also in the given order. But beware: It also uses the library search path configured in Tools -> Options. (And there is a very outdated jedi.inc file in some (or all?) Delphi installations. I don't exactly remember where because I deleted it when I stumbled upon it.)
  24. dummzeuch

    System.GetMemory returning NIL

    I have now switched to GetMem.
  25. dummzeuch

    System.GetMemory returning NIL

    Because according to the OLH there is no functional difference between GetMem and GetMemory, so I thought I had free choice. And I prefer a function over a procedure when a single value is returned. It makes the code easier to read.
×