PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 2024 → Struct class C# not filled in Windev
Struct class C# not filled in Windev
Started by Franco BUSCAGLIA, Jul., 27 2016 7:50 AM - 1 reply
Registered member
19 messages
Posted on July, 27 2016 - 7:50 AM
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!
Posted on April, 04 2017 - 1:40 PM
Hi,

same issue. Did you have solved this problem ?

Regards