Every program on Windows is a process. Usually processes do not share their memories.
Sharing and sharing is a matter of how the virtual address space of each process is displayed in physical memory.
If two processes have parts of their address spaces that are displayed on the same pages of physical memory, this memory is effectively shared by them, and each process can read and, possibly, write and observe the recording of another process.
There is very little point in stack memory allocation, so each process has its own stack. In fact, processes are more like containers. The objects that execute the code and use the stack are threads. There is at least one thread in each process. Themes have their own stacks, but since process threads are in the same virtual address space, they can access each other. It is sometimes useful to share data between stacks between threads, but this must be done carefully so as not to damage the state of the threads and not cause freezes or crashes.
source share