Hola, he intentado reinstalar INDY 10.0.52 que baje de la pagina Web
Indy, y he re-instalado sin problemas los componentes para Delphi for Win32 pero no he podido hacerlo para .NET
Los pasos que he seguido para Re-Instalar INDY 10.0.52 para .NET son los siguientes:
1º Paso: Abro Delphi 2005
2º Paso: FILE / OPEN
C:\Archivos de programa\Borland\BDS\3.0\Indy10052\System\ IndySystem110Net.dpk, el ordenador me pregunta si quiero abrirlo para Delphi for Win32 o Delphi .NET, selecciono la opción de Delphi for .NET
Despues selecciono PROJECT / OPTIONS y en la opción DIRECTORIES / CONDITIONALS, escribo el directorio que voy a utilizar, en mi caso
C:\Archivos de programa\Borland\BDS\3.0\indy10052\lib
y hago lo mismo en TOOLS / OPTIONS / DELPHI OPTIONS / LIBRARY NET y aquí añadir el directorio donde tengo la nueva versión de INDY
3º Paso: me sitúo en la ventana Project Manager, selecciono
IndySystem110Net.dll, pulso el botón derecho del ratón y selecciono COMPILAR, el proceso se realiza correctamente, sin mensajes de aviso.
4º Paso: FILE / OPEN
C:\Archivos de programa\Borland\BDS\3.0\Indy10052\Core\ IndyCore110Net.dpk, y me da los siguientes mensajes de aviso:
[References Error] Could not find the assembly "IndySystem110Net" on the Assembly Reference Search Path.
[References Error] Could not find the assembly "IndySystem110Net" on the Assembly Reference Search Path.
5º Paso: COMPILAR, y me da los siguientes mensajes de aviso:
[Warning] IdReply.pas(226): W1025 Unsupported language feature: 'virtual constructor call in constructor'
[Warning] IdSync.pas(187): W1025 Unsupported language feature: 'virtual constructor call in constructor'
6º Paso: FILE / OPEN
C:\Archivos de programa\Borland\BDS\3.0\Indy10052\Protocols\ IndyProtocols110Net.dpk,
7º Paso: COMPILA Ry me da los siguientes mensajes de aviso:
[Warning] IdFTPCommon.pas(981): W1000 Symbol 'ByteType' is deprecated
[Warning] IdNetworkCalculator.pas(40): W1046 Unsafe type 'TIpStruct'
[Warning] IdDNSServer.pas(2548): W1000 Symbol 'AnsiLowerCase' is deprecated
[Warning] IdDNSServer.pas(2553): W1000 Symbol 'AnsiLowerCase' is deprecated
[Warning] IdDNSServer.pas(3091): W1000 Symbol 'AnsiLowerCase' is deprecated
[Warning] IdDNSServer.pas(3092): W1000 Symbol 'AnsiLowerCase' is deprecated
[Warning] IdDNSServer.pas(3092): W1000 Symbol 'AnsiPos' is deprecated
[Warning] IdZLibCompressorBase.pas(167): W1000 Symbol 'soFromCurrent' is deprecated
[Warning] IdZLibCompressorBase.pas(168): W1002 Symbol 'Read' is specific to a platform
[Warning] IdZLibCompressorBase.pas(169): W1000 Symbol 'soFromCurrent' is deprecated
[Warning] IdZLibCompressorBase.pas(173): W1002 Symbol 'Read' is specific to a platform
[Warning] IdZLibCompressorBase.pas(174): W1000 Symbol 'soFromCurrent' is deprecated
[Warning] IdZLibCompressorBase.pas(179): W1002 Symbol 'Read' is specific to a platform
[Warning] IdZLibCompressorBase.pas(185): W1002 Symbol 'Read' is specific to a platform
[Warning] IdZLibCompressorBase.pas(190): W1000 Symbol 'soFromCurrent' is deprecated
[Warning] IdZLibCompressorBase.pas(199): W1000 Symbol 'soFromCurrent' is deprecated
[Warning] IdZLibCompressorBase.pas(209): W1000 Symbol 'soFromCurrent' is deprecated
[Warning] IdZLibCompressorBase.pas(216): W1000 Symbol 'soFromCurrent' is deprecated
[Warning] IdZLibCompressorBase.pas(293): W1002 Symbol 'Read' is specific to a platform
[Warning] IdZLibCompressorBase.pas(294): W1002 Symbol 'Read' is specific to a platform
[Warning] IdZLibCompressorBase.pas(296): W1002 Symbol 'Read' is specific to a platform
[Warning] IdOTPCalculator.pas(394): W1002 Symbol 'Write' is specific to a platform
[Warning] IdOTPCalculator.pas(398): W1002 Symbol 'Write' is specific to a platform
[Warning] IdOTPCalculator.pas(435): W1002 Symbol 'Write' is specific to a platform
[Warning] IdOTPCalculator.pas(439): W1002 Symbol 'Write' is specific to a platform
[Warning] IdOTPCalculator.pas(475): W1002 Symbol 'Write' is specific to a platform
[Warning] IdOTPCalculator.pas(478): W1002 Symbol 'Write' is specific to a platform
[Warning] IdGopher.pas(256): W1002 Symbol 'Write' is specific to a platform
[Warning] IdIMAP4.pas(2757): W1002 Symbol 'FindFirst' is specific to a platform
[Warning] IdIMAP4.pas(6287): W1002 Symbol 'ReadBuffer' is specific to a platform
[Warning] IdIMAP4.pas(6290): W1002 Symbol 'WriteBuffer' is specific to a platform
[Warning] IdTrivialFTP.pas(169): W1002 Symbol 'WriteBuffer' is specific to a platform
[Warning] IdTrivialFTPServer.pas(431): W1002 Symbol 'WriteBuffer' is specific to a platform
En el directorio
C:\Archivos de programa\Borland\BDS\3.0\indy10052\lib veo que a pesar de los avisos se han creado las tres librerias *.dll
- IndySystem110Net.dll
- IndyCore110Net.dll
- IndyProtocls110Net.dll
Mis preguntas, son:
A) Como le indico a Delphi 2005 el path donde debe buscar, para que no me aparezcan los mensajes, yo lo he puesto en TOOLS / OPTIONS / DELPHI OPTIONS / LIBRARY NET y también en PROJECT / OPTIONS / DIRECTORIES / CONDITIONALS.
B) Como instalo estos componentes para .NET, ya que según las instrucciones una vez compilados los ficheros
- IndySystem110Net.dpk
- IndyCore110Net.dpk
- IndyProtocols110Net.dpk
debería instalar los ficheros
- dclIndyCore110.bpl
- dclIndyProtocols110Net.bpl
Pero si utilizo FILE / OPEN
C:\Archivos de programa\Borland\BDS\3.0\indy10052\Core\dclIndyCore110.bpl me da los siguientes errores, y además no aparece la opción INSTALL, como me aparecia cuando instale la versión para Win32
[Un saludo a todos
Jose Manuel