W
william.thorpe.b
I have recently switched from VS2003 to VS2005 and at the same time
from V1 to V2 of the .NET Compact Framework. The target is a Windows
CE 5.0 device and an ARMV4I processor.
System.Runtime.InteropServices.Marshal.WriteInt32 used to work fine but
now is misbehaving.
I wrote some native-code (C++) alternates to some Marshal methods and
when I P/Invoke them they work fine; I can write to an address and I
read back the same value that I just wrote.
When I use Marshal.WriteInt32, the value that I read back (with either
technique) gives a bogus value. I get the same bogus value regardless
of what value I wrote to the address.
Any ideas?
Thanks,
Bill
from V1 to V2 of the .NET Compact Framework. The target is a Windows
CE 5.0 device and an ARMV4I processor.
System.Runtime.InteropServices.Marshal.WriteInt32 used to work fine but
now is misbehaving.
I wrote some native-code (C++) alternates to some Marshal methods and
when I P/Invoke them they work fine; I can write to an address and I
read back the same value that I just wrote.
When I use Marshal.WriteInt32, the value that I read back (with either
technique) gives a bogus value. I get the same bogus value regardless
of what value I wrote to the address.
Any ideas?
Thanks,
Bill