Einzelnen Beitrag anzeigen

Kas Ob.

Registriert seit: 3. Sep 2023
227 Beiträge
 
#24

AW: Delphi 12: Fehler mit Action := caFree

  Alt 4. Dez 2023, 14:14
You seem to have a serious misunderstanding of how the call stack works.
Well, i am half down and the other half is slow, so will not challenge that.

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.
Can you please confirm if a button click go though TApllication.ProcessMessage ? or an event triggered like TForm.OnShow went through that ? because it doesn't,
ProcessMessage in TApllication ..
Well, as you said i am lacking understanding of stack working and VCL design, who knows may be there are, i must simply don't know.

So please forgive me for wasting your time.
  Mit Zitat antworten Zitat