AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Suchfunktion Ergebnis der Suchanfrage

Ergebnis der Suchanfrage


Datum des Suchindex: Heute, 15:47

Parameter dieser Suchanfrage:

Suche in Thema: Ursache für hängende Applikation herausfinden
Suche alle Beiträge, die von "Kas Ob." geschrieben wurden
• Suchmethode: "Suche nach allen Begriffen"
• Nach Datum (firstpost) sortiert
• Zeige Treffer als Beiträge
Zeige 4 von insges. 4 Treffern
Suche benötigte 0.000s

Es liegen Ergebnisse in folgenden Bereichen vor:

  • Forum: Sonstige Fragen zu Delphi

    AW: Ursache für hängende Applikation herausfinden

      Delphi
      by Kas Ob., 1. Feb 2024
    That is the problem !

    Don't push the info (or data) from background thread to main thread or GUI (VCL), let the VCL/GUI poll the status from the threads, but if it is necessary then notify by (well highly recommended) a message, also make the thread limit its notification to time based condition, like lets say we are moving/copying a folder, if that folder have 10k of small files, it makes no...
  • Forum: Sonstige Fragen zu Delphi

    AW: Ursache für hängende Applikation herausfinden

      Delphi
      by Kas Ob., 1. Feb 2024
    Remove Synchronize, redesign it without Synchronize.
  • Forum: Sonstige Fragen zu Delphi

    AW: Ursache für hängende Applikation herausfinden

      Delphi
      by Kas Ob., 1. Feb 2024
    Hi,

    First and foremost never ever ever ever use Application.ProcessMessages(); in background thread and anywhere in general !, nothing good will come from it, and will add more failure scenarios that no one can imagine or think of.

    Now to this whole big thread, it is way more complex than it should be.

    My suggestion for your case (the code above) to drop it all and replace it with...
  • Forum: Sonstige Fragen zu Delphi

    AW: Ursache für hängende Applikation herausfinden

      Delphi
      by Kas Ob., 30. Jan 2024
    Hi,


    But you are !

    See, there is no difference if you are accessing the thread itself from VCL or blocking to access something shared with a thread.

    Suggestion, but i will use an example for language barrier (may be will be readable):
    you a thread that perform disk operations, these operations or tasks are in in lockable thread safe list, your VCL components need to have a visual...


URL zu dieser Suchanfrage:

https://www.delphipraxis.net/dp_search.php?do=usersearch&search_username=Kas+Ob.&search_exact_username=1&search_sortby=dateline&search_resulttype=post&search_matchmode=0&searchthreadid=214551
Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:04 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz