
Error whenever I include <winbase.h>
Hello,
I'm getting a weird error in <winbase.h> while trying to
compile a win32 console program that includes <winbase.h>.
For example, if I try to compile the following simple
program:
#include <iostream.h>
#include <winbase.h>
int main(int argc, char* argv[])
{
cout << "hello world" << endl;
return 0;
Quote:
}
The error that I get is:
d:\program files\microsoft visual studio\vc98
\include\winbase.h(216) : error C2146: syntax error :
missing ';' before identifier 'Internal'
actually, I get 74 errors, all in winbase.h.
I realize this must be a pretty stupid question, but I
can't seem to find a solution. I'm using VS6 SP5