I need a little help with the HINTERNET variable type. I am trying to work with some functions that deal with the wininet libraries. I define and include of wininet.h. I try to compile the file even with no other lines of code(comment all out) and it still fails. The compile errors i am getting are with the wininet.h header file. It states that a ';' is missing after the HINTERNET variable definition. It also states that there is an unusual end of file on the same line. I have tried it on 2 different installs of visual studio to ensure it wasn't a corrupted file. Please help. Here is a small sample.
#include "wininet.h"
void main()
{
HINTERNET hOpen;
printf("test");
}
Thanks,
Inferno
#include "wininet.h"
void main()
{
HINTERNET hOpen;
printf("test");
}
Thanks,
Inferno