Hallo,
als erstes deklariere ich meine tidmessage:
Delphi-Quelltext
das problem tritt aber erst im hauptprogramm auf:
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16:
| try try if pop.Connected=false then pop.Connect else begin ShowMessage('Es besteht schon eine Verbindung zum Server!'); pop.Disconnect; pop.Connect; end; pop.KeepAlive; except Showmessage('Could not connect!'); exit; end; finally Showmessage('Connected!'); txt.clear; mess.clear; |
Bei mess.clear kommt eine zugriffsverletzung und nach Debugger ist mess nil! Natürlich funzt kein anderer Zugriff auf mess! Könnt ihr mir helfen?
Rokdd