On Monday, 28 Dec 2015 18:09:03 +0800, Dmitry Timoshkov wrote:
> Hugh McMaster wrote:
>
> > >> The testbot seems to have an out-of-date version of mingw32, or at least, its linker, ld.exe.
> > >>
> > >> I'm trying to run tests for GetConsoleScreenBufferInfoEx, a function available on Vista and higher.
> > >
> > > Then using GetProcAddress() is the only solution.
> >
> > Yes. Until the build software can be updated.
>
> Since the tests must be executed under versions of Windows earlier than
> Vista it's still needed to fallback to GetProcAddress().
For the submitted tests, yes, I am doing that.
But for quick testing, it would be nice if GetModuleHandle() and GetProcAddress() weren't required.
Calling documented Vista functions like GetConsoleScreenBufferInfoEx really shouldn't require special handling.