Autor Beitrag
Hendrik
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 324



BeitragVerfasst: Sa 28.04.12 22:30 
Hallo zusammen,

seit einiger Zeit kämpfe ich mit einem Thread, der mit createsuspend=false ausgeführt wird. Aus für mich bisher nicht nachvollziehbaren Gründen entsteht nach einiger Zeit ein Zugriffsfehler.

Die Befehle des Thread sind mit einer try finally Anweisung umschlossen. Nichtsdestotrotz hängt sich das Programm nach dem Auftreten des Fehlers auf. Ist das bei Threads üblich? Kann ich es irgendwie verhindern, dass dadurch das komplette Programm im Eimer ist?

Danke für eure Hilfe schonmal im Voraus!
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Sa 28.04.12 23:16 
Moin!

Ohne Code wird dir da keiner helfen können. :nixweiss:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19315
Erhaltene Danke: 1747

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 29.04.12 01:27 
Benutze nicht try..finally als Ressourcenschutzblock, sondern fange den Fehler mit try..except ab und behandele ihn...