FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
|
Herramientas | Buscar en Tema | Desplegado |
|
#1
|
|||
|
|||
Error al Llamar Función en DLL (Interface not suported).
Buenas, estoy escribiendo una función para enviar datos post a un gateway de sms, ya hice la función y todo perfecto, pero ahora me gustaría tenerla en dll la paso a dll pero me dice Interface Not Suported, aqui dejo el codigo de la dll y la llamada.
Codigo DLL.
este es el de la llamada
|
#2
|
|||
|
|||
Hola.
Es bueno especificar que versión de delphi usas. Yo realicé una prueba con tu código en Delphi xe y lo primero es que no vi el error que comentas, pero lo primero que te puedo sugerir es que agregues la función a ejecutar desde fuera de la dll en una sección exports.
|
#3
|
|||
|
|||
Hola.
Te dejo un enlace que te puede servir de mucha ayuda, está en ingles, pero contiene una buena información de como realizar las llamadas a las funciones contenidas en dll y las precauciones. Calling Conventions. Te sugiero, que te fijes en en el demo al final de la página del enlace. |
#4
|
|||
|
|||
Uso delphi 7, voy a probar lo que me dices y les comento
|
#5
|
|||
|
|||
Gracias Funciona bien saludos
|
Herramientas | Buscar en Tema |
Desplegado | |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Llamar funcion dll con una cadena... | robinsongm | Varios | 6 | 26-02-2010 20:55:21 |
Llamar a una función de una DLL desde PHP | MON___ | Varios | 4 | 05-10-2007 23:06:48 |
Llamar de una función a otra | jorgegetafe | Varios | 6 | 05-06-2007 15:53:19 |
¿Como llamar una funcion de una DLL? | paty_rlopez | Varios | 3 | 26-06-2006 15:25:25 |
problema al llamar una función | sgarrido | Varios | 3 | 27-07-2004 01:14:33 |
|