Jump to content

Fr0sT.Brutal

Members
  • Content Count

    330
  • Joined

  • Last visited

  • Days Won

    9

Fr0sT.Brutal last won the day on March 3

Fr0sT.Brutal had the most liked content!

Community Reputation

109 Excellent

Technical Information

  • Delphi-Version
    Delphi XE2

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Fr0sT.Brutal

    Exception.CreateFmt vs. CreateResFmt

    Yep, I know 😉 For my projects this fact pushed me to change most of in-place string concatenations to formatting of constant literals which additionally is good preparation for easy localization in future.
  2. Too specific IMHO. Couldn't Delphinus help you in your case?
  3. Fr0sT.Brutal

    Exception.CreateFmt vs. CreateResFmt

    Noticed this hidden catch too so turned all my routines to use CreateFmt. Btw, the same goes for string concatenation raise Exception.Create('Error: '+ErrorText);
  4. Fr0sT.Brutal

    THttpCli - retry request

    Sorry, I have no Delphi nearby currently, try to read ICS samples, there are plenty.
  5. At least in Delphi you can. Don't know about Lazarus.
  6. I'm pretty sure local network servers send periodic packets to each of network peer. Maybe when someone invokes list of network machines. Good to know that! I've never dealt with this technology before, now I'll try to save it in my mind's set of known tools 🙂
  7. Fr0sT.Brutal

    THttpCli - retry request

    You should finish the call chain in OnHeaderEnd and retry the request async-ly. F.ex., by posting a custom message via PostMessage to socket control's handle (and, of course, write handler for it). Also don't forget to limit number of retries
  8. First you've got to tell what File Explorer is... Why don't you just simply sniff the traffic instead and see what's really going on?
  9. Strange. Won't local server's periodic activity wake PC every time then?
  10. Fr0sT.Brutal

    3 explorer running

    From what I understood you can do the following: Enum all windows Find those which belong to explorer processes Check if these are hidden Terminate corresponding explorer processes Though it seems more wise to me to just handle the described situation in your software.
  11. Fr0sT.Brutal

    Minifing HTML

    Are you addressing me? Btw, what you need XML minification for? As far as I'm aware you can rarely see plain XML in the wild; most of formats suppose Zipped XML (docx, fb2.zip). DB engines often use compression internally as well, HTTP protocol allows deflate compression.
  12. Nevertheless there's no good replacement at all. HTTP interface won't let you use a client app where you can just select multiple directories and download them all recursively.
  13. Fr0sT.Brutal

    3 explorer running

    Honestly, I'm not sure I understand your needs but maybe FindWindow or enum processes can help you
  14. Fr0sT.Brutal

    Minifing HTML

    Word has never been a good HTML generator )) CSS styles in all pages it created were a nightmare. Well, I tried the first online minifier Google has given me and the source of this very page. Initial 76217, minified 63707, "compression" 16%. On the one hand, that's more than nothing. On the other hand, that makes the page source unreadable, could cause errors (f.ex. in embedded scripts or styles), and finally saves only 13 kB.
  15. Yeah and it makes me sad. HTTP has no standard listing format either so is very hard to automate.
×