D
DaTurk
Hi,
I'm coding a layer into my application using CLI, between a unmanaged
and a c# layer. So, I have to marshal some unmanaged c++ structures
to structures usable in c#.
My solution was to marshal the unmanaged C++ structures to CLI ref
structs, these being usable in the c# layer. Why I did it this way is
I want all of the business logic in the CLI layer. Because he c#
layer is purely presentaion.
My question is, what is the point of using CLI ref structs?
I'm coding a layer into my application using CLI, between a unmanaged
and a c# layer. So, I have to marshal some unmanaged c++ structures
to structures usable in c#.
My solution was to marshal the unmanaged C++ structures to CLI ref
structs, these being usable in the c# layer. Why I did it this way is
I want all of the business logic in the CLI layer. Because he c#
layer is purely presentaion.
My question is, what is the point of using CLI ref structs?