Hello,
I run .NET application from powerbuilder application, and send window's hadle as parameter from window's function, so:
via RUN("NETAPP.EXE " + String(Hanlde(this)))
in .netr application, I send message by SendMessageA function, the handle who that was got as parameter.
the message number = 1024, and pbm_custom event isn't triggered, only pbm_other.
Thanks,
Chava.
After run commamd, application print DW, and open WPF window to print it too. ( I want the .Net app doesn't wait, Run fuction it is my way to run two proccess at the same time, do you have another solution to do it?)
I tried PostMessage and still pbm_custom event isnwt trigger. only pbm_other trigger.
thanks,
Chava
https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-sendmessagea
The following link describes UIPI:
https://en.wikipedia.org/wiki/User_Interface_Privilege_Isolation
To summarize, it may not be possible to do what you are attempting. I suggest you seriously consider Roland's suggestion to use Windows Sockets.