G
Guest
I have several apps (some written in VB6, others in VB.NET) that need to be
able to see the same area of memory (shared memory), in particular an array.
I know that I can use win api calls (CreateFileMapping, MapViewOfFile etc.)
from multiple VB6 apps to look at this shared memory. The shared memory
represents an array of some vb types (class's and structures in vb.net). I
don't seem to find any documentation and examples of how to use these API's
via vb.net. I have read on remoting in .NET but that requires a TCP
connection in which case I have a TCP server listening for requests. I don't
want to use sockets, but stick to the API. How do I do this in VB.NET? I
have also found some references to Interop but again have no solid examples.
able to see the same area of memory (shared memory), in particular an array.
I know that I can use win api calls (CreateFileMapping, MapViewOfFile etc.)
from multiple VB6 apps to look at this shared memory. The shared memory
represents an array of some vb types (class's and structures in vb.net). I
don't seem to find any documentation and examples of how to use these API's
via vb.net. I have read on remoting in .NET but that requires a TCP
connection in which case I have a TCP server listening for requests. I don't
want to use sockets, but stick to the API. How do I do this in VB.NET? I
have also found some references to Interop but again have no solid examples.