PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Struct class C# not filled in Windev
Struct class C# not filled in Windev
Débuté par Franco BUSCAGLIA, 27 juil. 2016 07:50 - 1 réponse
Membre enregistré
19 messages
Posté le 27 juillet 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!
Posté le 04 avril 2017 - 13:40
Hi,

same issue. Did you have solved this problem ?

Regards