Quote Originally Posted by vbwins View Post
@elroy
Thanks will take a look. I have actually used CreateFileMapping and MapViewOfFile in another project and I thought the address space was inside process limits. Sharing is simply a matter of assigning the same physical pages to virtual pages in multiple processes page tables. In that way virtual memory points to the same physical memory. I remember this from my days as a vms internals support guy.
In this way, you can share your ah, a string variable or a string array.It's just that the best way is to just use it to read, not to use the string destruction method directly.