Undefined reference to GetCurrentConsoleFontEx

Started by Josef, December 20, 2012, 03:07:26 PM

Previous topic - Next topic

Josef

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.

CommonTater

#1
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

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