amwx / FluentAvalonia

Control library focused on fluent design and bringing more WinUI controls into Avalonia
MIT License
1.05k stars 97 forks source link

Can't run on windows7 sp1 due to the use of windows 10 only API. #499

Closed sandsc closed 11 months ago

sandsc commented 11 months ago

Describe the bug Win32Interop use AdjustWindowRectExForDpi which is only available on windows 10. application raise System.EntryPointNotFoundException exception when app runs on windows 7.

Unable to find an entry point named 'AdjustWindowRectExForDpi' in DLL 'user32.dll

timunie commented 11 months ago

@sandsc Windows 7 is not officially supported by MS anymore and we have no devices to test it. Thus it is expected that at some point Avalonia may not work on Win7 anymore. If you are able to provide a fix without breaking any functionality, without any hacks, we may include this but no promise.

Thank you for your understanding.

amwx commented 11 months ago

Please also see the readme or the documentation. It states Win 7 and 8 are not supported by FA.