Autor Beitrag
Flamefire
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1207
Erhaltene Danke: 31

Win 10
Delphi 2009 Pro, C++ (Visual Studio)
BeitragVerfasst: Sa 06.10.07 10:58 
Was ist das für eine Fehlermedlung?
Hab sie mit der Event-Kompo abgefangen aber würde gren wissen was das sein soll...
Es passiert nach, wenn ein Formular erzeugt und mit ShowModal angezeigt wird
Aber nie bei mir und selten bei andren.
Clemens L.
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 158

Win Xp SP3
D6 Enterprise, Turbo Delphi Explorer
BeitragVerfasst: Sa 06.10.07 11:38 
Hmm die hatte ich gestern auch, entweder bei GetLastError oder RaiseLastOsError! Aber das lag nicht an den Errors die die ausgespuckt haben, sondern die selbst warn das! :gruebel:
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 06.10.07 13:03 
Die VCL ist an einigen Stellen in Bezug auf die WinAPI-Anbindung SEHR unsauber programmiert, so dass nicht jede Fehlerbedingung auch wirklich resettet wird. So verbleiben oftmals viele Fehlersituationen in GetLastError und werden bei einem allgemeinen Aufruf dann "abgefangen". In einem solchen Fall: Vor dem eigenen WinAPI-Block einfach mit SetLastError(0); einen initialisierten Ausgangszustand herstellen, dann geht's ;-)

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.