Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

PostMessage (User32.dll) is not able to post messages to other process when running in low privileged account

$
0
0

I have two .net applications. From my app1 i am using PostMessage to send message to app2. When i run app1 and app2 in administrator account the message is received by app2. But when i run them in less privileged account, message is not received by app2.

Return code from PostMessage is always 1(for both working and not working case). As per the documentation any nonzero value implies successful execution of PostMessage.

Is there any specific privilege requirement for this function to work?

Pl provide your suggestions on this problem.


AVS


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>