End Google Ads 201810 - BS.net 01 --> Hello,

I tried set the wallpaper with tis code:


SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, pp,SPIF_UPDATEINIFILE);



but got some errors:
stdafx.obj : error LNK2028: unresolved token (0A000323) "extern "C" int __stdcall SystemParametersInfoW(unsigned int,unsigned int,void *,unsigned int)" (?SystemParametersInfoW@@$$J216YGHIIPAXI@Z) referenced in function "private: void __clrcall Autorun::kepek::toolStripMenuItem5_Click(class System::Object ^,class System::EventArgs ^)" (?toolStripMenuItem5_Click@kepek@Autorun@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)

1>Autorun.obj : error LNK2028: unresolved token (0A00001E) "extern "C" int __stdcall SystemParametersInfoW(unsigned int,unsigned int,void *,unsigned int)" (?SystemParametersInfoW@@$$J216YGHIIPAXI@Z) referenced in function "private: void __clrcall Autorun::kepek::toolStripMenuItem5_Click(class System::Object ^,class System::EventArgs ^)" (?toolStripMenuItem5_Click@kepek@Autorun@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)

1>Autorun.obj : error LNK2019: unresolved external symbol "extern "C" int __stdcall SystemParametersInfoW(unsigned int,unsigned int,void *,unsigned int)" (?SystemParametersInfoW@@$$J216YGHIIPAXI@Z) referenced in function "private: void __clrcall Autorun::kepek::toolStripMenuItem5_Click(class System::Object ^,class System::EventArgs ^)" (?toolStripMenuItem5_Click@kepek@Autorun@@$$FA$AAMXP$AAVObject@System@@P$AAVEventArgs@4@@Z)

1>stdafx.obj : error LNK2001: unresolved external symbol "extern "C" int __stdcall SystemParametersInfoW(unsigned int,unsigned int,void *,unsigned int)" (?SystemParametersInfoW@@$$J216YGHIIPAXI@Z)

1>C:\Visual Studio 2008\Projects\Autorun\Debug\Autorun.exe : fatal error LNK1120: 3 unresolved externals

and also tried with #include ,->36 error.

Please help,what's wrong ?

Thanks for the Help !