Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Aug : SMTPServer crazy please help
| Subject: | SMTPServer crazy please help |
| Posted by: | "Antonello Carlomagno" (a.carlomag..@synweb.locale) |
| Date: | Tue, 9 Aug 2005 17:21:14 |
Hi,
I have compile and run the SMTPServer_Demo of indy and When I set off the
server, it works fine.
Now, I have installed the Indy plus source component, ver 10.0.76
and I recompile the same demo, but When I set off I raise a Access
violation.....
the unit is: idCustomTCPServer and this is the code:
on E: Exception do begin
FreeAndNil(LContext);
FreeAndNil(LPeer);
// Must terminate - likely has not started yet
if LYarn <> nil then begin
Server.Scheduler.TerminateYarn(LYarn);
<---------------------ACCESS VIOLATION !!!!!
end;
// EAbort is used to kick out above and destroy yarns and other, but
// we dont want to show the user
if not (E is EAbort) then begin
Server.DoListenException(Self, E);
Why ??
I use delphi 5 pro
thanks
antonello