Hi,
I've recently bought a notebook with pre-installed Vista Bussiness system. At first I felt quite happy with it (once I disabled Aero stuff). But then I moved my code from my previous computer and was terribly dissapointed.
Until now, I have been compiling my c/winapi code in Dev-C++ (gcc I mean). Since I didn't manage to make it work on Vista, I downloaded official SDK from msdn. I quickly found that the .exe files generated with VC++ were about 20-40 kb heavier than those made with gcc. But that was not the worst thing.
None of my apps that used GDI for displaying graphics does work on Vista. Code that worked perfectly under XP either behaves strangely, e.g trivial:
CODE
for(i=0;i<windowwidth;i++)
for(j=0;j<windowheight;j++)
SetPixel(hdc, i, j, RGB(128, 255, 0));
- leaves vertical rectangles untouched,
or refuses to run at all, as an app that ploted Mandelbrot Set in the window.
On MSDN I read that some video cards may not implement various GDI functions, but damn - how can they not support such a primitive api as SetPixel ?!
I begin to wonder if I did right learning win32 api as it seems MS treats it only as backward-compatibility dinosaur compared with .NET platform