I am trying to port an application from VC++ 6.0 to Visual Studio 2008. The code is not written by me.
When function SystemParametersInfo() is invocked it returns FALSE, but when I check the error with GetLastError(), return value is 0 (zero). Anyhow, the behaviour is like the function had failed.
The same code works properly when compiled with VC++ 6.0
What I am doing wrong?