How can a Windows application use multiple processes?

I see Chrome and IE8 as examples of applications that have several processes, each of which is associated with separate windows (and other things). How it works? Specifically focusing on the GUI side - one question I have is whether Windows treats HWND as a process, or can one process arbitrarily interact with any HWND?

+3
source share
4 answers

This is a great question. I'm going to throw away what I think might be a possible solution.

The main application is responsible for unwinding additional processes (tabs) as needed. This is very similar to reversing additional threads.

, , . , URL-. , .

, . , , .

. , , , .

, , , -. , , , .

: http://www.catch22.net/tuts/tips#ShareData
http://msdn.microsoft.com/en-us/magazine/bb985041.aspx

+1

? GUI - , , , Windows HWND HWND?

HWND , . , , Windows Forms.

, , , .

+2

.

.

, .

+1

MSDN. : http://msdn.microsoft.com/en-us/library/ms681917(v=VS.85).aspx

As for the Windows descriptor, I think it's just a resource, like any other that contains a process. However, I think there are built-in security measures and limitations on how processes can interact with each other's resources, including HWNDs.

0
source

Source: https://habr.com/ru/post/1790249/


All Articles