Ive got this code

#include <windows.h>
#include <string>
using namespace std;

int main(string PATH)
{
SystemParametersInfo( SPI_SETDESKWALLPAPER, 0, PATH, SPIF_UPDATEINIFILE );
return 0;
}


But when i try to compile it i get,
cannot convert `std::string' to `void*'

If i add (PVOID) infront of path then i get
cannot convert `PATH' from type `std::string' to type `void*'

any tips/advice?