Pass a structure from .Net to ATEasy?

Artyom D.
Kursk,

Apr 16, 2010
8 Posts

0  |  0  

Re: Pass a structure from .Net to ATEasy?

Hi,
Can you provide a code snippets in C# and ATEasy how to transfer a struct from .Net to identical struct in ATEasy (all fields has the same data types)?
I’ve seen at http://www.marvintest.com/Forums/thread.aspx?ID=76 the suggestion on similar problem, but it looks like not working.
Regards,
Artyom

Solution Available
DrATEasy (Ron Y.)
Mission Viejo, CA

Apr 16, 2010
358 Posts

1  |  0  

Re: Pass a structure from .Net to ATEasy?

ATEasy struct and c#/.Net struct are not the same and cannot be exchanged automatically. Instead, you will need to define the c# as class and use its type in ATEasy instead of using an ATEasy struct. Example for that is in the DotNet.prj example. The DotNetClass1 c# class have data members which shows in ATEasy as variables that can be used similar to structure fields.

Ron



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]