>Hilmar,
>A struct is a value type. You could directly pass it as any value type (ie: int). Do you mean pass by reference? Then use ref or out.
>
>A struct by itself is like a class (with some differences). IOW define it as if you're defining another class.
OK, thanks.
The problem wasn't passing by reference or value - I couldn't pass it at all. Defining the struct separately in two forms wasn't acceptable to the compiler. I wasn't sure where I had to define it, but now I managed it - in a separate file.
>
>
>namespace myApp
>{
>class myForm1 {}
>class myForm2 {}
>struct myStruct {}
>}
>
Cetin
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)