Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : 'ntdll.dll' problem

www.cryer.info
Managed Newsgroup Archive

'ntdll.dll' problem

Subject:'ntdll.dll' problem
Posted by:"mustafa korkmaz" (sekendizpa..@yahoo.com)
Date:18 Aug 2006 12:41:24

procedure TMyManagerThread.addlist(obje: tobject);
begin
EnterCriticalSection( listkritik );
try
  try
   Managerlist.Add( obje );
  except  on e:exception do
   begin
    .......
   end;
  end;
finally
  LeaveCriticalSection( listkritik );
end;
end;


procedure TfrTCPServer.myProc( Athread: TIdPeerThread );
var MyClass : TMyclass;
begin
  .....
  MyClass := TMyclass.create;
  MyClass.no := 123;
  ..............
  try
    ManagerThreads[ Tperson( Athread.data ).roomNumber ].addlist( MyClass );
  except on e: exception do
   begin
     ExceptionLoga( e.Message ); //---------->Access violation at address 7C82F350 in module 'ntdll.dll'. Write of address 31333176
   end;
end;

What may be source of the problem? Why ntdll.dll?
This program runs on win2003 server. I use Delhi 5.

Replies:

www.cryer.info
Managed Newsgroup Archive