Closed GoogleCodeExporter closed 9 years ago
ReadIntPtr would not be a replacement for Add in these cases. Add is really
simple on pre-4.0, just ptr.ToInt64() + offset, which I've added as a helper
method in MemoryHelper. I also changed MarshalArray in memory helper to return
a zero-length array upon failure, although you were probably encountering that
null reference exception on account of Marshal.ReadIntPtr.
I locally built the solution targeting 3.5 and everything seems to be working
as they should.
Original comment by nicholas.woodfield
on 1 Nov 2012 at 11:29
[deleted comment]
Original comment by nicholas.woodfield
on 1 Nov 2012 at 11:30
Original issue reported on code.google.com by
soco...@gmail.com
on 30 Oct 2012 at 10:00