Reputation: 2323
I am following this tutorial Here to load font from resource. I have included the Wingdi.h header source, yet I am getting "::AddFontMemResourceEx' has not been declared" error while compiling, same error for ::RemoveFontMemResourceEx as well
What could possibly be the cause ?
OS: Windows 7, Compiler : MinGW
Upvotes: 1
Views: 248
Reputation: 597530
wingdi.h
will not declare AddFontMemResourceEx()
if _WIN32_WINNT
is not at least 0x0500
(aka _WIN32_WINNT_WIN2K
).
Upvotes: 3