PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Struct class C# not filled in Windev
Struct class C# not filled in Windev
Iniciado por Franco BUSCAGLIA, 27,jul. 2016 07:50 - 1 respuesta
Miembro registrado
19 mensajes
Publicado el 27,julio 2016 - 07:50
Hi
I have a .NET C# class, imported in Windev as .NET assembly
class pippo
with
1) a simple structure with 3 fields
struct StruType
string a1
string a2
string a3
2) a method
backInfo (key string, out msgErr string, out MyStruct StruType)
===========

I have istantiated
myclass is pippo
MiaStrutt is Strutype
When I call
backinfo(mykey, Error, MiaStrutt)

Error is filled ok. but la structure is empty, without any error message

I also tried to call it
pippo.backinfo(mykey, Error, (MiaStrutt))
but with no success

Then I made a windev struct and a _get method to fill
XX is struct
string a1
string a2
string a3

xx = pippo.getinfo()

but I get back an error message of type not compatible

Where is my mistake?
Thanks!
Publicado el 04,abril 2017 - 13:40
Hi,

same issue. Did you have solved this problem ?

Regards