.NET version
.net7.0
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
It works in .net6.0 and earlier versions
Issue description
The mouse action is not captured by the SetWindowsHookEx API in .Net7.0 which works in the earlier version.
I have already created an issue regarding this but the solution given is not working in framework 4.8 versions. It shows the error" Native sized interger is not available in c#". Please find the old issue link
#9535.
Steps to reproduce
Sample
WindowsFormsApp1.zip
- Run the sample
- Note that the compilation error occurs
.NET version
.net7.0
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
It works in .net6.0 and earlier versions
Issue description
The mouse action is not captured by the SetWindowsHookEx API in .Net7.0 which works in the earlier version.
I have already created an issue regarding this but the solution given is not working in framework 4.8 versions. It shows the error" Native sized interger is not available in c#". Please find the old issue link
#9535.
Steps to reproduce
Sample
WindowsFormsApp1.zip