hi,
i have written a code for marshaling a structure to byte array to send it across the network, the code works fine in 2005 version of visual studio, but, i get the following error in 2003 version.. " Unhandled Exception:Syste m.ArgumentExcep tion: type packet cannot be marshaled as an unmanaged structure; no meaningful size or offset can be computed at System.Runtime. InteropServices .Marshal.SizeOf (object structure)"
kindly help...
thanks in advance
i have written a code for marshaling a structure to byte array to send it across the network, the code works fine in 2005 version of visual studio, but, i get the following error in 2003 version.. " Unhandled Exception:Syste m.ArgumentExcep tion: type packet cannot be marshaled as an unmanaged structure; no meaningful size or offset can be computed at System.Runtime. InteropServices .Marshal.SizeOf (object structure)"
kindly help...
thanks in advance