V
Vladimir Kouznetsov
Hi group,
It seems there are no guarantees that the same unmanaged structures have the
same binary representation for managed and native code. How do I use them in
mixed-code assemblies? Is there just some compiler magic behind curtains
(IJW, some implicit marshalling, which can lead to a performance
degradation) or the data are binary compatible in these scenarios or I
perhaps should use attributes to explicitly specify the layout (which BTW
may depend on compiler switches increasing complexity of maintenance)?
thanks,
v
It seems there are no guarantees that the same unmanaged structures have the
same binary representation for managed and native code. How do I use them in
mixed-code assemblies? Is there just some compiler magic behind curtains
(IJW, some implicit marshalling, which can lead to a performance
degradation) or the data are binary compatible in these scenarios or I
perhaps should use attributes to explicitly specify the layout (which BTW
may depend on compiler switches increasing complexity of maintenance)?
thanks,
v