PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → How to call a .net method?
How to call a .net method?
Débuté par Alexandre Aragão, 22 juil. 2008 18:28 - 1 réponse
Posté le 22 juillet 2008 - 18:28
Hi,
I´m trying to call a method of a .net DLL but I´m having problems.
I´ve imported a dll to the project and I´m trying to call by CallDLL32("name of DLL","Function","par1","par2").
THe return will be a XML.
I need some help with this, or another way to call a function in a .NET DLL.
thanks,
Alexandre Aragão
Posté le 19 septembre 2008 - 00:34
Alexandre,

You don't call .NET classes this way, First you import the assembly in your project, Second you will user the .NET classes the same way that you are using a Windev classes

HTH,

Sylvain

Alexandre Aragão a écrit dans le message de news <18222008072216100393.9938@news.pcsoft.fr> :
Hi,
I&acute;m trying to call a method of a .net DLL but I&acute;m having problems.
I&acute;ve imported a dll to the project and I&acute;m trying to call by CallDLL32("name of DLL","Function","par1","par2").
THe return will be a XML.
I need some help with this, or another way to call a function in a .NET DLL.
thanks,
Alexandre Aragão