0

I'm trying to communicate between applications running under different user accounts.

This is what I'm trying to accomplish:

http://imageshack.com/scaled/large/692/p3vc.png

However, this isn't working using SendMessage. Why is this? What can I do to fix this situation?

Mlsoun
  • 9
  • 1
  • 5
  • 1
    when it doesn't work call GetLastError. If result is 5 (Access denied) your message is blocked by User Interface Privilege Isolation (UIPI). So it means SendMessage is OK but pb is access rights. – ColdCat Sep 04 '13 at 14:37
  • Yes GetLastError return 0x5 - Access denied. Both apps are running under accounts which have admins rights. What to do now ? – Mlsoun Sep 04 '13 at 18:08
  • Never used it but look at ChangeWindowMessageFilterEx to let some message go through UIPI – ColdCat Sep 04 '13 at 19:59
  • ChangeWindowMessageFilterEx does not help :-( I will use NamedPipes like workaround – Mlsoun Sep 05 '13 at 07:56
  • http://stackoverflow.com/a/1674398/1111557 – inetknght Jan 28 '14 at 19:52

0 Answers0