Hi.
I assume that I should know this but I am drawing a blank..
Can a MEMPTR location be fetched and given to another prowin session to access the data in the MEMPTR?
Jeff
No. The second session has its own address space and can't see the MEMPTR memory from the first session at all.
No. The second session has its own address space and can't see the MEMPTR memory from the first session at all.
What if the MEMPTR was pointing to something not in a prowin session?
No. Memory for one process has no relationship to the memory in another session. Each process has its own private virtual memory space. It is not even the case that if you run exactly the same thing in 2 prowin sessions that the address of a particular MEMPTR pointer will be the same in both.
Thanks Matt. You should know. :)
Re Tim's question, you can't have a pointer to memory outside of your session. There is no such thing. Even it if is memory in a 3rd-party dll, it is still mapped to memory in the process's private address space.