Jump to content

Attila Kovacs

Members
  • Content Count

    2084
  • Joined

  • Last visited

  • Days Won

    29

Everything posted by Attila Kovacs

  1. Attila Kovacs

    How to .Free a non-modal form?

    A TForm or descendant has an event OnClose. Thats it. No further interaction needed.
  2. Attila Kovacs

    How to .Free a non-modal form?

    in OnClose Action := caFree;
  3. Attila Kovacs

    Cross-platform messaging system

    @Andrea Raimondi At first sight this hocus-pocus has not much to do with System.Messaging at all and could be be easily create the same with this lib. By the way, what do you mean with Are you writing message driven apps? By the way 2 initialization begin MsgMgr := TMessageManager.DefaultManager; end; What is your purpose with begin/end? Is this also some readability thing?
  4. I also have some issues with these clown selling-platforms. I wen't through the check-out 2 times but all they ask is a name, company name and an email address and no word about invoice or anything. Are you selling it only to private persons?
  5. Attila Kovacs

    Customizing source editor

    It's your font. It's completely different as my and I did not change it.
  6. Attila Kovacs

    Customizing source editor

    No, never, but I have to admit, the first thing I do after a Delphi install is to dump every fancy skinning (and other) bpl's from it.
  7. Attila Kovacs

    Customizing source editor

    what is that? btw. turning off italic for the comments also reduces the line height by 1 or 2 pixels, cool
  8. *YAAAWWWN* with GzipFile(fileobj=output_file, mode='wt', compresslevel=9) as gzip_out: gzip_out.write(contents) Sounds like a rule from the one thousand fifty nine thing where Delphi still sucks blog.
  9. Attila Kovacs

    simple cloud storage options

    .
  10. Yes, they were. And this is where the fairy tails are borning. It's also important to understand what digital signatures are for. Or intended to be. Anyway, 100 of 100 users would just click on "Execute, I know the risks". Not my f..ing job. And there is also software cracking, where you can sign your app criss-cross, it's just matter of time to get rid of it, or spoof it.
  11. @Kas Ob. What do you want to say with that? Is there anything new? Did they sign the exes? 😉
  12. And if the remote server is in <random country> then the hacker has to fight the dragon in <random country> first. It's stunning how many fairy tales are invented about hacking and security.
  13. Oh I see, this component is just a wrapper for the windows component, so you are causing a message storm. There is not even a beginupdate/endupdate.
  14. I'd suspect that you call onclick every time you set checked.
  15. You mean after somebody read the RTL code for you?
  16. We had this discussion already where we optimized one of the RTL's function. Search for it.
  17. That's why nobody loads passwords into edit boxes even if it's just showing placeholders, but how the holy cow would one load any password back into anything as they are not even stored since decades, just its hashes. (Ok, this particular ftp client you showed has to store them, but it's quite different from a desktop application)
  18. This story is kinda strange. First, tampering "the exe" to get the managers password, then "every employee" had a "modded" exe. I think somebody played around with the user rights and don't want to admit. Anyway, it's better to avoid such smart A customers.... "delphi software unsafe". muha
  19. Attila Kovacs

    Make a complete DataSet event conditional??

    Nope. Wrong side of the horse. Redesign it to be able to control it from the applications.
  20. Attila Kovacs

    Round() appears to be non-deterministic

    Please pardon me for asking this, but are there ppl. using Delphi's built in Round()?
  21. Attila Kovacs

    The Case of Delphi Const String Parameters

    @Kas Ob. you don't have to be scenical, there are several methods out there with (const T; var T), and if you don't know the implementation detail you can run into it very quickly. The compiler won't give you any hints either.
  22. Attila Kovacs

    The Case of Delphi Const String Parameters

    I ran into this once function x(const input: string; var output: string): boolean; begun while we read input do alter output; end; if x(s,s) then; except that it wasn't easy to track down, it was a one time "achievement" in my life. Yet. given that, I consider every method having a const and var parameter of the same type as a time-bomb.
  23. No, but obviously you already made a nice helper https://stackoverflow.com/questions/34442102/how-can-i-get-the-number-of-elements-of-any-variable-of-type-set AD? 😉
  24. Attila Kovacs

    Call stack does not show source unit code

    rebuild everything. shift-f9
×