![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#2
|
||||
|
||||
|
"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
__________________
:) |
|
|
|