A
AgilentCoder
I am experimenting with shared memory in windows ce 5 and .net 2.0.
I want to be able to :
Create a dll that allocates some memory.
call into the dll from .net 2.0 and get a pointer to that memory
change the memory directly (without all the marshal.this and marshal.that)
Is this just me dreamin' or can this be done? I try to pass down an out
IntPtr to my dll function and it sets the pointer to the address of a simple
array, but when it returns, I have zeros for my intpointer.
I am marking my methods unsafe, and willing to take the risk. I think it
will be fast - if it works.
Anybody have some tips or a good website that discusses this that I could
read? I have not found anything that really tries to cover this.
Thanks,
Paul
I want to be able to :
Create a dll that allocates some memory.
call into the dll from .net 2.0 and get a pointer to that memory
change the memory directly (without all the marshal.this and marshal.that)
Is this just me dreamin' or can this be done? I try to pass down an out
IntPtr to my dll function and it sets the pointer to the address of a simple
array, but when it returns, I have zeros for my intpointer.
I am marking my methods unsafe, and willing to take the risk. I think it
will be fast - if it works.
Anybody have some tips or a good website that discusses this that I could
read? I have not found anything that really tries to cover this.
Thanks,
Paul