You are not logged in.
Pages: 1
Very interesting article about "feature" in VCL which resulted in the crash of Delphi-based application. You can use google translator to read article in your language (originally in Russian) http://habrahabr.ru/post/217189/
In short - in Controls.pas initialization (in the InitControls) Delphi call windows function GlobalAddAtom several times.
And if we end Delphi application in unexpected way (Ctrl+F2 in IDE for example), finalization part not called, so GlobalDeleteAtom do not calls.
Since in Windows possible numbers of global atoms equal to 16383 we can easy overflow it and as a result - all Delphi based application do not run correctly anymore (reboot need).
Offline
Pages: 1