Jump to content

Attila Kovacs

Members
  • Content Count

    2024
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Attila Kovacs

  1. Attila Kovacs

    Scope of a HotKey??

    It's easy. If those hotkeys are really app-wide hotkeys and not a case for menu/action components, just hook the application messages and evaluate WM_KEYDOWN. VCL does the same. For every single menu/action visible. Every single time you press a key in your app.
  2. Attila Kovacs

    ISAPI DLL concurrent requests

    Btw. the fact that your broker works in garden mode, where the dll will be loaded every time you have a new request (as I understand it), indicates that you are using globals in non thread-safe mode.
  3. Attila Kovacs

    ISAPI DLL concurrent requests

    I think there are explicit WebGarden = true / false options in IIS, but your web.config does not has it, maybe you could check other config files. Nothing. Always set up everything from scratch, and at the end of your events there should nothing be kept. Avoid globals as much you can or use thread safe techniques to access them. I don't know how could be this possible. Ok, I also never needed it, but your events are running in a different thread every time you do a req, I'm not even sure that these threads are aware of an existing Application instance.
  4. Attila Kovacs

    ISAPI DLL concurrent requests

    Not really. Make sure WebGarden is not turned on, you don't do anything in webmodule OnCreate and OnDestroy, check the Event Viewer, try writing into a logfile to see what executes and what not...
  5. Attila Kovacs

    ISAPI DLL concurrent requests

    show web.config and MCVE
  6. Attila Kovacs

    Do we have a spam problem?

    Do we need a sign up captcha?
  7. Attila Kovacs

    Parsing Google Search Results redux

    apt-get install elinks // or whatever distro you use, install elinks elinks https://www.google.com/search?q=dentist+in+scottsdale >output.file but as I told you already, you will face captchas very soon
  8. Attila Kovacs

    IDE adds {$R} between units

    It happens to me every time I add a new unit to the project, mainly because I have other compiler directives in the .dpr. I think it works as designed...
  9. Attila Kovacs

    Running the IDE in a VM on Mac Book Pro?

    https://9to5mac.com/2017/08/10/macbook-pro-ssd-capacity-samsung-4tb/
  10. Attila Kovacs

    JSON - Why self ins't updated with new values ?

    Pretty weird. Never seen assigning something to "self", I'm wondering that this compiles. But for your problem, think on "self" like if it was a variable. It should be rather Person := TJSon.JsonToObject<TPerson>(aJsonString);
  11. Attila Kovacs

    TWebBrowser + dynamic JS question

    Not to mention, once you get it to work, you will face in a very short time capthcas on every google pages for your IP.
  12. Attila Kovacs

    TWebBrowser + dynamic JS question

    I told you already that this is not something google wants to be able and they are very good at this and changing continuously their code. Good luck
  13. Attila Kovacs

    Refer to Form Control without using the Form unit?

    I don't get it. Even if you have a translator (which I would make with rtti), how would you handle different instances of a specific form?
  14. Attila Kovacs

    parsing Google search results

    Even if you get it to work, they will vary the output in a very short time, obviously.
  15. Attila Kovacs

    WinAPI to query if a form is ready to Rock.

    you can detour TForm's DoCreate, DoDestroy, DoShow, Activate etc... from a separate unit and set some flags if it helps
  16. Attila Kovacs

    Record constants that are actually constant?

    @Lars Fosdal you could also pass classes in attributes. there you could have class vars for example. I like the json way. More flexible. (And more fragile, true)
  17. Attila Kovacs

    SVG Magic released

    No. What exactly do you want to know?
  18. Attila Kovacs

    Record constants that are actually constant?

    @Lars Fosdal use json for your attribs, syncommons.pas can convert them to records
  19. I was watching the getit versions of Raize after the acquisition but the only change in the sources were just updates in the ifdefs for the new compiler version. Did something change since then? Also, AFAIR, there were always 2 batch files included for Raize, to compile and/or install the whole lib for x86 and x64.
  20. So true. Everything else is just botching. User setting belongs to roaming.
  21. Attila Kovacs

    Best way to check if an internet SMTP server is available?

    <o> And what if the smtp server works when your app starts, but then I shut it down? on every IO, file / network / etc.... try it / catch the error / do what you want
  22. Attila Kovacs

    REST BASIC Authentication

    try a decent API tester like https://www.soapui.org/
  23. Attila Kovacs

    REST BASIC Authentication

    on the second screenshot username: Joe password: 12345
  24. Attila Kovacs

    REST BASIC Authentication

    Do not read too much documentation. Just enter the plaintext l/p into the boxes.
  25. Attila Kovacs

    Delphi 10.3 Update 2 available

    @Dalija Prasnikar Ah, I see. Hopefully they will automate it or get rid of it.
×