mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[GH-ISSUE #52] Windows 7: ScriptFreeCache not found in GDI32.dll #32
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CannibalSoftware on GitHub (Dec 13, 2021).
Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/52
theide.exe - Entry Point Not Found
The procedure entry point ScriptFreeCache could not be located in the dynamic link linbrary GDI32.dll.
This is likely due to the order of the linking of libraries:
https://docs.microsoft.com/en-us/windows/win32/api/usp10/nf-usp10-scriptfreecache?redirectedfrom=MSDN
On the page is this note:
"Important Starting with Windows 8: To maintain the ability to run on Windows 7, a module that uses Uniscribe must specify Usp10.lib before gdi32.lib in its library list."
@badrelmers commented on GitHub (Feb 11, 2022):
yes I have the same error in win 7 x64

@mirek-fidler commented on GitHub (Feb 11, 2022):
usp10 moved before gdi32... (in current master, should be in nightly tomorrow).
Please report if that solved your problem.
@kov-serg commented on GitHub (Feb 13, 2022):
Confirm
upp-win-16190 works under windows 7
upp-win-16187 - fails to run
@kov-serg commented on GitHub (Mar 21, 2022):
The problem is a little deeper.
When create gui project is adds
packages
Draw package depends on "usp10 user32 gdi32"
but CtrlCore is also depends on gdi32: "advapi32 comdlg32 comctl32 imm32 user32 gdi32"
so in final linker option we have
... -ladvapi32 -lcomdlg32 -lcomctl32 -limm32 -luser32 -lgdi32 -lusp10 -luser32 -lgdi32 -lkernel32 -luser32 -lole32 -loleaut32 -luuid -lws2_32 -ladvapi32 -lshell32 -lwinmm -lmpr -Wl,--end-group
And this cause resulting executable fails to run under windows 7