Jump to content

Attila Kovacs

Members
  • Content Count

    1977
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Attila Kovacs

  1. Attila Kovacs

    Moving Line or Block in the IDE editor

    Uwe, why am I not surprised? <o> 🙂 I should try MMX some day.
  2. I assume you talking about every other active datasets (which could block) and not the one which is failing (which is blocked). Well, backup and start to debug with simplifying the queries. Also, compare the installed drivers on those workstations.
  3. IIRC this could also caused by blob fields in the query, which are only fetched if needed (by default).
  4. "Fetchall" comes to mind. If a result set of a query is only partially fetched (because of the size) it blocks the connection. http://docwiki.embarcadero.com/RADStudio/Rio/en/Fetching_Rows_(FireDAC)
  5. Only god and google knows.
  6. Maybe accidentally set to async mode?
  7. Attila Kovacs

    GExperts and virus scanners

    Just lean back, not your fault. And it's always the installer's code which ends up in the signatures, not the RTL.
  8. Attila Kovacs

    Finalization section not called unless main form shown

    This info is actually cool. I was never paying attention to it. I was thinking the main form were the first form created any way. But with this, it's enough to write: frmYourFormsNeededToCreateIfAny := TfrmYourFormsNeededToCreateIfAny.Create(Application); frmLogin := TfrmLogin.Create(Application); if frmLogin.DoLogin then Application.CreateForm(TfrmMain, frmMain); Application.Run; or similar no need for Terminate prior to .Run;, no need for ShowMainForm := False, no unnecessary OnCreate() of the main form. however initialization and finalization will run (of course), and prepare, that adding new forms via IDE will screw up your dpr mostly every time.
  9. Attila Kovacs

    Debugger in 10.3.3 is useless :'(

    I tried VB and it was too slow for me. How do you come over that everything lags?
  10. Like in the title, if I can see and have time to read the [Parsing...] hint in the IDE code editor, the IDE just shuts down silently, without saving anything.. crashes silently. (10.1.2), Anyone else having the same issue? Sometimes multiple times in a row, sometimes no issue for days.
  11. Attila Kovacs

    ctrl-F4 in CPU window

    Before creating a bug report I wanted to ask if someone could confirm that ctrl-F4 doesn't work in CPU View since ages, or do I have some 3rd party which interfere?
  12. Attila Kovacs

    ctrl-F4 in CPU window

    Hm, thanks Uwe, this would satisfy me too, but it's not the case... 😞
  13. Attila Kovacs

    Changing label text in thread leads to weird display

    @FredS What happens if you add s := Copy(s, 1, Length(s) - 1) + Copy(s, Length(s), 1); after s := TCursiveNumbers.ToText(c); in the main loop?
  14. Attila Kovacs

    Changing label text in thread leads to weird display

    what is TCursiveNumbers.ToText? Does it changes the length of the string?
  15. Attila Kovacs

    Finalization section not called unless main form shown

    Mainform is always the first form you create. Make sure you are not creating the mainform or any other twice.
  16. Attila Kovacs

    Finalization section not called unless main form shown

    That means Application.ShowMainForm := False; and Application.Terminate; and Application.Run; if login fails, and you won't get a flickering mainform and you will have a clean termination of the application including calling the finalization section in the mainform.
  17. Attila Kovacs

    Finalization section not called unless main form shown

    Ok, here is the thing: Application.Terminate only sends a message to the application to terminate. It will be processed in the main Application message loop, which you can start with Application.Run. To avoid showing the mainform, set Application.ShowMainForm := False; prior to .Run;
  18. Attila Kovacs

    Finalization section not called unless main form shown

    @Mark Williams Can you see what I'm writing? Just for the record.
  19. Attila Kovacs

    Finalization section not called unless main form shown

    I'm not sure what your "exit" does, and I can't see your code, but with the code below finalization is called: if not DoLogIn() then begin Application.ShowMainForm := False; Application.Terminate; Application.Run; end;
  20. Attila Kovacs

    Problem with Enhance IDE dialogs

    It is indeed a mess. If you'd remove all the skinning you'd be shocked how it looks like. Putting controls to the title bar was also a steep decision. Thanx DM.
  21. I don't even bother reading a website without a proper imprint.
  22. Attila Kovacs

    Any Known GDI Lockup Issues with Delphi 10.3.2?

    or driver or hardware.. btw. taskmanager has a ton of extra columns in options, GDI objects too, but this is something else
  23. I mean the ones I found on the net are not satisfying. Something like this would be great: https://www.calculator.org/calculate-online/mathematics/text-number.html
  24. Attila Kovacs

    TWebModule response content truncated before return

    @Mark Williams LOL Sorry I must have been very tired. https://chapmanworld.com/2017/06/15/installing-webbroker-projects-in-microsoft-iis/
  25. Attila Kovacs

    TWebModule response content truncated before return

    I have no clue, but you could watch this video, how to create a console application from the broker to be able to debug your code.
×