AGB  ·  Datenschutz  ·  Impressum  







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

Ergebnis der Suchanfrage


Datum des Suchindex: Heute, 15:17

Parameter dieser Suchanfrage:

Suche in Thema: Delphi 12: Fehler mit Action := caFree
Suche alle Beiträge, die von "peterbelow" geschrieben wurden
• Suchmethode: "Suche nach allen Begriffen"
• Nach Datum (firstpost) sortiert
• Zeige Treffer als Beiträge
Zeige 7 von insges. 7 Treffern
Suche benötigte 0.000s

Es liegen Ergebnisse in folgenden Bereichen vor:

  • Forum: Sonstige Fragen zu Delphi

    AW: Delphi 12: Fehler mit Action := caFree

      Delphi
      by peterbelow, 5. Dez 2023
    The mouse button down and up messages are posted messages (by the OS), are retrieved (GetMessage/PeekMessage API) and processed (DispatchMessage API) by ProcessMessage. TButton is a wrapper aound the Windows BUTTON control and that reacts to the dispatched mouse messages by sending (not posting) a BN_CLICKED notification to its parent. The VCL reflects that back to the TButton control and there...
  • Forum: Sonstige Fragen zu Delphi

    AW: Delphi 12: Fehler mit Action := caFree

      Delphi
      by peterbelow, 4. Dez 2023
    You seem to have a serious misunderstanding of how the call stack works. In a VCl app practically all code in the main thread is executed in response to a posted message, so the base of the call stack is TApplication.ProcessMessage, at least all the code flow interesting for debugging starts from there. There are a few instruction below that point, which get executed during program startup. but...
  • Forum: Sonstige Fragen zu Delphi

    AW: Delphi 12: Fehler mit Action := caFree

      Delphi
      by peterbelow, 3. Dez 2023
    The problem itself is a bug, no argument. But the debugger is not faulty, the stack is not corrupted. It correctly reports the location at which the exception was raised. That is just not the location that is at the root of the problem, but that is fairly often the case.
  • Forum: Sonstige Fragen zu Delphi

    AW: Delphi 12: Fehler mit Action := caFree

      Delphi
      by peterbelow, 3. Dez 2023
    If I let the IDE break on the exception the call stack does look like in original post:

    Vcl.Forms.TCustomForm.VisualManager_AcceptMessage((45089, 0, 0, 0, 0, 0, (), 0, 0, (), 0, 0, ()))
    Vcl.Forms.TCustomForm.WndProc((9960336, 9960352, 9960168, 9960168, 64416, 151, (), 64232, 151, (), 64232, 151, ()))
    Vcl.Controls.TWinControl.MainWndProc(???)
    System.Classes.StdWndProc(721212,45089,0,0)...
  • Forum: Sonstige Fragen zu Delphi

    AW: Delphi 12: Fehler mit Action := caFree

      Delphi
      by peterbelow, 2. Dez 2023
    If I run to a breakpoint in the OnClose handler the full call stack looks like this

    Unit2.TForm2.FormClose($7F650010,caHide)
    Vcl.Forms.TCustomForm.DoClose(???)
    Vcl.Forms.TCustomForm.Close
    Unit2.TForm2.Button1Click($3157C10)
    Vcl.Controls.TControl.Click
    Vcl.StdCtrls.TCustomButton.Click
    Vcl.StdCtrls.TCustomButton.CNCommand(???)
    Vcl.Controls.TControl.WndProc((48401, 1634, 591458, 0, 1634,...
  • Forum: Sonstige Fragen zu Delphi

    AW: Delphi 12: Fehler mit Action := caFree

      Delphi
      by peterbelow, 2. Dez 2023
    Ich kann das Problem in D12 reproduzieren, nur die Fehleradressen sind nicht immer gleich. Das ist ein echter Bug, der beim Implementieren des verbesserten MDI-Supports in TCustomForm.WndProc eingebaut wurde, siehe Post #9 in diesem Thread.

    Bitte sei so nett und lege einen Bugreport mit deinem Beispielprogramm auf quality.embarcadero.com an.
  • Forum: Sonstige Fragen zu Delphi

    AW: Delphi 12: Fehler mit Action := caFree

      Delphi
      by peterbelow, 2. Dez 2023
    In D12 they completely reworked the support for MDI UIs to allow all the modern features users expect on Win 10 and 11. There probably are a lot of legacy MDI programs around that are in dire need of updating and from Embarcadero customers with some clout :wink:...

    This Visual manager thing was appearendly introduced to implement this support, but they introduced a bug in the process as well....


URL zu dieser Suchanfrage:

https://www.delphipraxis.net/dp_search.php?do=usersearch&search_username=peterbelow&search_exact_username=1&search_sortby=dateline&search_resulttype=post&search_matchmode=0&searchthreadid=214191
Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:25 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