PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Call method from own DLL
Call method from own DLL
Iniciado por thomas.buchegger, 14,abr. 2016 14:32 - 1 respuesta
Publicado el 14,abril 2016 - 14:32
Hi, I'm having the following problem:
I'd like to call a method from my own DLL.

In C# I'd do something like:

private SMS smsClient = new SMS(user, pw)
smsClient.send(sender, reciepient, message)



Now how can I achieve that in WinDev?

Thank you for your help!
Miembro registrado
44 mensajes
Publicado el 14,abril 2016 - 20:33
Hi!

Try import DLL from u project.

1 - Project > Import > A .NET Assembly > Browse > Select ur DLL and DONE.

Or using

2 - CALLDLL32 : http://doc.windev.com/en-US/…

But, make first method! :)

After import declare this way...

MyCodename is MyDLL

[...]

MyCodeName.methodDLL(parameters[...])


Enjoy!

--
Analista de Sistemas Jr
Assessor de Comunicação
Fotografo nas horas Vagas
Pai da Alícia e Marido da Andréa <3
Mensaje modificado, 14,abril 2016 - 20:35