Y
yaniv1234567890
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(lpName,INTERNET_OPEN_TYPE_PRECONFIG,lpEmpty,lpEmpty,0);
}
but i get a link error :
"XmlPost error LNK2019: unresolved external symbol __imp__InternetOpenW@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(lpName,INTERNET_OPEN_TYPE_PRECONFIG,lpEmpty,lpEmpty,0);
}
but i get a link error :
"XmlPost error LNK2019: unresolved external symbol __imp__InternetOpenW@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.