Hi,
The sample on msdn (and the SDK) "Draw Rectangle Example"
http://msdn.microsoft.com/en-us/library/windows/desktop/dd371016(v=vs.85).aspx
...runs when built in Visual Studio Express 2010 (32 bit compiled) but
fails when built on mingw-64 (also 32bit).
I've appended the source for convenienc
It is as it always was. Nothing changed, it has absolutely nothing to
do with gcc version (and had never).
Add object-file CRT_noglob.o to command-line. If you have compiled
mingw-w64's crt with configure-option '--disable-wildcard' then you
might want to use CRT_glob.o instead to turn glob on.