How we can ensure compatibility of the combined ecosystem




Download 70.26 Kb.
bet9/24
Sana24.03.2021
Hajmi70.26 Kb.
#13506
1   ...   5   6   7   8   9   10   11   12   ...   24

How we can ensure compatibility of the combined ecosystem


Following are some best practices Microsoft recommends so you can ensure your apps are compatible with Windows 10.

Windows version check


The OS version has been incremented with the Windows 10 OS release. This means that the internal version number for Windows 10 has also been changed to 10.0. As in the past, we go to great lengths to maintain application and device compatibility after an OS version change. For most app categories (without any kernel dependencies) the change will not negatively impact app functionality, and existing apps will continue to work fine on Windows 10.

The manifestation of this change is app-specific. This means any app that specifically checks for the OS version will get a higher version number, which can lead to one or more of the following situations:



  • App installers might not be able to install the app, and apps might not be able to start.

  • Apps might become unstable or crash

  • Apps might generate error messages, but continue to function properly

Some apps perform a version check and simply pass a warning to users. However, there are apps that are bound very tightly to a version check (in the drivers, or in kernel mode to avoid detection). In these cases, the app will fail if an incorrect version is found. Rather than a version check, we recommend one of the following approaches:

If the app is dependent on specific API functionality, ensure you target the correct API version.



  • NTDDI (NT device driver interface) version number will increment only if target functionality in the API changes. Ensure you detect the change via APISet or other exposed API as created by the feature team, and do not use the version as a proxy for some feature or fix. If there are breaking changes and a proper check is not exposed, then that is a bug.

  • Ensure the app does NOT check for version in odd ways, such as via the registry, file versions, offsets, kernel mode, drivers or other means. If the app absolutely needs to check the version, use the GetVersion APIs, which should return the major, minor and build number.

  • If you are using the GetVersion API, remember that the behavior of this API has changed since Windows 8.1. Please refer to this article for more details.

  • If you own apps such as antimalware or firewall, you should work through your usual feedback channels and via the Windows Insider program.




Download 70.26 Kb.
1   ...   5   6   7   8   9   10   11   12   ...   24




Download 70.26 Kb.

Bosh sahifa
Aloqalar

    Bosh sahifa



How we can ensure compatibility of the combined ecosystem

Download 70.26 Kb.