I have got 2 application.
One of them is a WPF app and another is sys tray app.
The first one should somehow pass to another one his window pointer IntPtr
IntPtr thisWindowHandle = (new WindowInteropHelper(this)).Handle;
And the second one should accept it and detect the active screen of WPF app.
Screen activeScreen = Screen.FromHandle(thisWindowHandle);
My question is how we can send IntPtr
between those apps and is it possible to do at all?
Thank you!