Ver Mensaje Individual
  #2  
Antiguo 02-10-2005
Avatar de DarkByte
DarkByte DarkByte is offline
Miembro
 
Registrado: sep 2003
Ubicación: Desconocido
Posts: 1.322
Reputación: 24
DarkByte Va por buen camino
"As discussed previously, the events of TCP servers have changed. Instead of passing a thread, they now pass a context. The easiest way to fix these changes is to cut the old events and place them in notepad. Create a new event using the form editor, and then paste the contents into each of the new events. This will allow Delphi to fix up the form headers, as well as the DFM for you.



The new events accept a TIdContext as an argument and thus the IdContext unit will need to be added to the interface uses clause.



interface



uses

Graphics, Controls, Forms,

Classes,

IdBaseComponent, IdComponent, IdTCPServer,

IdContext,

SysUtils;"

Extraido de: http://bdn.borland.com/borcon2004/ar...,32160,00.html
__________________
:)
Responder Con Cita