My program depends on USER32.dll, SHELL32.dll, ADVAPI32.dll WS2_32.dll, GDI32.dll, and KERNEL32.dll. All are in the system32 folder. Is there any way I can include these in my program so it will run on all Windows computers? Or are these dlls that can already be found on all installations of Windows?
My program depends on USER32.dll, SHELL32.dll, ADVAPI32.dll WS2_32.dll, GDI32.dll, and KERNEL32.dll. All are in
Share
You need to override the criteria according to which py2exe selects the DLL’s that it includes in the resulting package. The following shows how to do this
This code and the citation above were taken from a page on the py2exe site. Make sure you read that page, including the disclaimers.