Skip to content

Is Windows App Runtime backward compatible #3657

Answered by DarranRowe
harshith187 asked this question in Q&A
Discussion options

You must be logged in to vote

This would require manually using the bootstrapper API. You can't use the auto initialiser (i.e. you can't use the WindowsPackageType set to None) to do this since this always searches for the version of the Windows App SDK it was shipped with.
If you look at the definition for the MddBootstrapInitialize2 function, you should notice that the first parameter is majorMinorVersion. This allows you to manually select the version of the Windows App SDK that you want to load. This means, if you call it like:

HRESULT hr = MddBootstrapInitialize2((1u) << 16 | 2u, L"", {}, MddBootstrapInitializeOptions_None);

you can select any version of the Windows App SDK.

If you are using a version of the Win…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@harshith187
Comment options

@DarranRowe
Comment options

@DrusTheAxe
Comment options

@harshith187
Comment options

Answer selected by harshith187
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants