write the next small program using wininet:
#define _UNICODE
#include <windows.h>
#include <wininet.h>
#include <TCHAR.H>
void main()
{
HINTERNET iOpen;
LPCWSTR lpName = __T("Eyal Computers Inc");
LPCWSTR lpEmpty = __T(" ");
iOpen=
InternetOpenW(l pName,INTERNET_ OPEN_TYPE_PRECO NFIG,lpEmpty,lp Empty,0);
}
but i get a link error :
"XmlPost error LNK2019: unresolved external symbol __imp__Internet OpenW@20
referenced in function _main"
im using VC.net in win32 project.
what do i need to do to fix that problem ?
10x for any help.
#define _UNICODE
#include <windows.h>
#include <wininet.h>
#include <TCHAR.H>
void main()
{
HINTERNET iOpen;
LPCWSTR lpName = __T("Eyal Computers Inc");
LPCWSTR lpEmpty = __T(" ");
iOpen=
InternetOpenW(l pName,INTERNET_ OPEN_TYPE_PRECO NFIG,lpEmpty,lp Empty,0);
}
but i get a link error :
"XmlPost error LNK2019: unresolved external symbol __imp__Internet OpenW@20
referenced in function _main"
im using VC.net in win32 project.
what do i need to do to fix that problem ?
10x for any help.
Comment