nickdu
2009-03-03 15:33:01 UTC
I'm trying to use shared memory within my c# application. I'm using .NET 2.0
so if there are shared memory functions added post 2.0 I can't use them.
The unmanaged API I'm trying to view as a byte[] is MapViewOfFile(). Is
there a way to get the void * returned from MapViewOfFile() to be a c# byte[]
without copying the data? Do I need to inject some managed C++ in order to
get this to work, if it's even possible?
so if there are shared memory functions added post 2.0 I can't use them.
The unmanaged API I'm trying to view as a byte[] is MapViewOfFile(). Is
there a way to get the void * returned from MapViewOfFile() to be a c# byte[]
without copying the data? Do I need to inject some managed C++ in order to
get this to work, if it's even possible?
--
Thanks,
Nick
***@community.nospam
remove "nospam" change community. to msn.com
Thanks,
Nick
***@community.nospam
remove "nospam" change community. to msn.com