Pelles C forum

C language => Windows questions => Topic started by: Josef on December 20, 2012, 03:07:26 PM

Title: Undefined reference to GetCurrentConsoleFontEx
Post by: Josef on December 20, 2012, 03:07:26 PM
Hello
I got an error message: undefined reference to GetCurrentConsoleFontEx, it's one of Microsoft's console functions.
Are there any solutions?
What's the reason, kernel32.lib maybe isn't up to date?
Thanks,
Josef.
Title: Re: Undefined reference to GetCurrentConsoleFontEx
Post by: CommonTater on December 20, 2012, 04:41:36 PM
It does appear that the Ex version is not implemented ...
However the standard GetCurrentConsoleFont() function is.

Note that the Ex version is only implemented from Vista forward...(i.e. can't be used on XP or 2000)
http://msdn.microsoft.com/en-us/library/windows/desktop/ms683177(v=vs.85).aspx (http://msdn.microsoft.com/en-us/library/windows/desktop/ms683177(v=vs.85).aspx)

You may wish to post this as a bug report in the appropriate forum section.