yuriythebest
October 17th, 2009, 11:08 AM
right- currently I have this code:
#include "stdafx.h"
#include <windows.h>
#include <stdio.h>
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
SystemParametersInfo( SPI_SETDESKWALLPAPER, 0, "c:/kovtunets2.jpg", SPIF_UPDATEINIFILE );
cin.get();
return 0;
}
the problem is that my wallpaper doesn't change :(
#include "stdafx.h"
#include <windows.h>
#include <stdio.h>
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
SystemParametersInfo( SPI_SETDESKWALLPAPER, 0, "c:/kovtunets2.jpg", SPIF_UPDATEINIFILE );
cin.get();
return 0;
}
the problem is that my wallpaper doesn't change :(