J
Just Me
I have some code converted from VB6 that contains VB.Len for structures.
VB.Len(lDevMode)
Seems to me that I can always change that to Marshal.SizeOf
Since sometimes Marshal.SizeOf works better
and VB.Len is never better.
Is that correct or are there cases when VB.Len is the correct one to use?
Thanks
VB.Len(lDevMode)
Seems to me that I can always change that to Marshal.SizeOf
Since sometimes Marshal.SizeOf works better
and VB.Len is never better.
Is that correct or are there cases when VB.Len is the correct one to use?
Thanks