Skip to content

[Xbox] Use LoadLibrary in UWP for system libs, same as Desktop - #1467

Closed
thexai wants to merge 1 commit into
microsoft:devfrom
thexai:xbox
Closed

thexai wants to merge 1 commit into
microsoft:devfrom
thexai:xbox

Conversation

@thexai

@thexai thexai commented Oct 27, 2026

Copy link
Copy Markdown

This is a follow-up of #1340.

Previously changed to use LoadPackagedLibrary for better Xbox compatibility but this is not necessary for system libs (only for app's packaged libs). In fact, it is counterproductive to use it for OS libraries.

Since here only is used for kernelbase, ntdll, kernel32, bcrypt and psapi (all system libs) is better remove the use of LoadPackagedLibrary.

Is confirmed is working in Python build for Xbox (Python code includes mimalloc).

This comment #1340 (comment) also supports the same thing.

@daanx

Copy link
Copy Markdown
Collaborator

Thanks thexai -- I pushed the smaller fix directly -- hope it works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants