FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
Componente indy dentro de una dll
Buen día a todos, hay algunos factores a tomar en cuenta para hacer una dll con indy 10.6.2 y su componente TidTCPClient?, ya que quiero convertir un exe, que funciona sin problemas, y al pasarlo a dll, me genera Access Violations, en 2 partes que con el exe no lo hace; lo más raro de todo, es que lo hace bien la primera vez, dejo la parte del código(comento las parte donde me da el error), dónde tengo el problema, gracias de antemano.
Última edición por Casimiro Notevi fecha: 06-01-2021 a las 23:38:28. |
#2
|
||||
|
||||
Lo más sencillo es que crees un pequeño proyecto (o dos uno para el EXE y otro para la DLL) donde se reproduzca el error y con el mínimo código posible y lo subas (como ZIP).
De esa forma podemos probarlo y darte la solución, de otra forma es difícil saber qué puede estar pasando... Eso puede ser indicativo de que algo en la DLL no se está cargando/descargando correctamente. Y al hacerlo la segunda vez falla. Enl código de la DLL sería útil para saber qué está pasando.
__________________
Germán Estévez => Web/Blog Guía de estilo, Guía alternativa Utiliza TAG's en tus mensajes. Contactar con el Clubdelphi P.D: Más tiempo dedicado a la pregunta=Mejores respuestas. Última edición por Neftali [Germán.Estévez] fecha: 08-01-2021 a las 13:06:48. |
#3
|
|||
|
|||
Muchas gracias por la ayuda, de hecho este código es el que tengo en el proyecto en .exe, y funciona sin problemas, de ahí mi duda de que tengo, que tomar en cuenta para hacer este tipo de conversión de .exe a .dll con el componente TidTCPClient, la .dll la estoy haciendo dinámica, entonces puede ser que no este cargando bien la .dll?
|
#4
|
|||
|
|||
Este es el código de mi .dll
|
#5
|
||||
|
||||
¿Has mirado el comentario que hay al principio del fichero?
__________________
Germán Estévez => Web/Blog Guía de estilo, Guía alternativa Utiliza TAG's en tus mensajes. Contactar con el Clubdelphi P.D: Más tiempo dedicado a la pregunta=Mejores respuestas. |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Componente Indy tidsnmp | Er0s | Internet | 2 | 07-06-2018 10:04:30 |
Componente Indy TCPClient | cmfab | Varios | 1 | 16-06-2014 14:29:05 |
Error con componente Indy | Alexander | Varios | 1 | 04-07-2006 06:15:07 |
Componente Indy | comba | Internet | 2 | 22-06-2005 16:00:24 |
Componente Indy FTPServer | bochi | Internet | 5 | 19-12-2003 16:39:10 |
|