Hello guys,
im using this function :
//All Includes of my project
#include <windows.h>
#include <iostream>
#include <fstream>
#include <string>
#include <direct.h>
#include <urlmon.h>
if (!File::Exists("c:\\MySettings\\Items.txt"))
{
URLDownloadToFile(NULL, ("http://download1225.mediafire.com/x6i9klhsm3dg/q6z21pgg9t5t6dn/Items.txt"), ("C:\\MySettings\\Items.txt"), 0, 0);
}
And i get a compiling error :
Unresolved external symbol ""extern "C" long __stdcall URLDownloadToFileA(struct IUnknown *,char const *,char const *,unsigned long,struct IBindStatusCallback *)" (?URLDownloadToFileA@@$$J220YGJPAUIUnknown@@PBD1KPAUIBindStatusCallback@@@Z)".
I have really no idea what im doing wrong.
(Im using Visual Studio 2008)
Help is appreciated :)