Closed Lucarda closed 6 years ago
It builds ok without as Windows.h is included via tcl.h and we don't need wingdi.h for the functions that are needed.
It builds ok without......
Yes it builds but is rather empty or without any Entry Point.
Also the AddFontResource function: https://msdn.microsoft.com/en-us/library/windows/desktop/dd183326(v=vs.85).aspx Requires:
Wingdi.h (include Windows.h)
Here a pic of “pdloader.dll” analyzed with http://www.dependencywalker.com/ for 32bit.
And here “extrafont.dll” (it calls gdi32.dll, the wingdi.h mentioned above) and also have a Funcion Name and an Entry Point:
Fixed. It was an issue with the makefile and both headers are indeed needed.
Did you look this: https://sourceforge.net/p/irrational-numbers/code/HEAD/tree/pkgs/extrafont-devkit/trunk/src/extrafont.c
also looks that:
include
include
is needed for windows to load the fonts.