c++ - PostMessage: Access Denied -


The application will receive the message from all the processes of the system. The message is sent using a postage call, which gives an error (5, access denied).

The code works correctly on Windows XP SP2, but only Windows 7 receives the message itself, which should be considered for receiving messages from each application.

Reading the post message document, I can read:

When a message is blocked by the UIPI, the last error is retrieved from GetLastError 5 (Access denied).

But in reality it does not say how this "UIPI" works, how do I do it?

You can allow your program to get a specific message using the function.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -