New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.ComponentModel.Win32Exception: The parameter is incorrect #126
Comments
@Phyxion What is your environment? .NET core? .NET 5? Which OS? Inside a VM? |
Sorry, missed that somehow.
No VMs. E: Looked up a couple more, some on .NET 472 others on .NET 48.
|
@Phyxion are you able to reproduce the issue or does it only happen sporadically? Do you know what actions in your application cause the crash? This is a long standing issue and we already implemented many safe-guards to prevent this from happening, but were never able to reproduce the issue... So all those safe-guards were added "blindly"... |
It only happens occasionally. I cannot reproduce it, but it happens frequently enough to be annoying. The application is usually launching. Why not catch this exception in |
SetWindowPos: Throw last error only if necessary
Thanks @punker76, I'll give this a try when 4.3.2 is out. |
Similar to #103, the mentioned new version doesn't solve it. In 4.3.1 this is still a problem.
At the moment this causes an unhandled exception / app crash.
The text was updated successfully, but these errors were encountered: