Skip to content
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

WindowsXP:'The procedure entry point GetPhysicallyInstalledSystemMemory could not be located in the dynamic link library kernel32.dll' #992

Closed
1027663760 opened this issue Jan 21, 2025 · 2 comments

Comments

@1027663760
Copy link

Image

In _mi_prim_mem_init, the API function GetPhysicallyInstalledSystemMemory is used, which is not supported in the XP system.

I searched the source code and found that physical_memory is not called anywhere.

This code seems to be meaningless. Should it be removed?

@daanx

@1027663760
Copy link
Author

This code was submitted at this time:
b27d154#diff-bd8089459b8cb42f28861ceaf68cffe6dc33db3fa534400e4652a3ff3208f1c1

@daanx
Copy link
Collaborator

daanx commented Jan 22, 2025

Ah, I guess I need to check for this with an #ifdef or dynamically -- I'll look into it. In the meantime you can compile by just commenting out the code as it is not used in an essential way.

daanx added a commit that referenced this issue Jan 22, 2025
@daanx daanx closed this as completed Feb 11, 2025
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

No branches or pull requests

2 participants