AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Die Delphi-IDE Unterschied "Erzeugen" und "Compilieren" - Einstellungen

Unterschied "Erzeugen" und "Compilieren" - Einstellungen

Ein Thema von haentschman · begonnen am 14. Aug 2025 · letzter Beitrag vom 18. Aug 2025
Antwort Antwort
Kas Ob.

Registriert seit: 3. Sep 2023
466 Beiträge
 
#1

AW: Unterschied "Erzeugen" und "Compilieren" - Einstellungen

  Alt 16. Aug 2025, 11:22
Between the "begin" of the project (dpr file), which is Entry Point, the execution point when the application get control, and the very next line/code there is hidden InitExe function, it will initialize the app, duh, but also will initialize the Units, this is what i suspect is your problem.

The symptoms, is most likely coming form uninitialized variable, where sometimes it is zeroed and it will work fine and later there is different values, leading to heap corruption, by heap corruption i mean the faulty code had written oven many global and most likely (because you are lucky in this case) it overwritten the pipes, otherwise it will be hidden there and very hard to fix.

suggestion:
1) build a small unit with initialization clause.
2) put it as first in the dpr file.
3) make it do Write/Writeln , see if there is an output, if there then you know for sure that there is an abuse in initialization clauses in you other units.
4) Double check your class constructors, if they are expecting some sort of singleton and they are wrong.

On side note, your exception report, showing 5 threads other than the main, what are they ? where did they come from ?
Kas
  Mit Zitat antworten Zitat
Antwort Antwort

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 07:48 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz