|
-
Aug 7th, 2002, 05:16 PM
#1
Thread Starter
Fanatic Member
A little (?) problem
hi!
I got this little, really big problem:
I can't make windows in C++.
I have Visual C++ 6.0.
When the compiler is trying to compile my code, it reveals 9 errors.
it's the windows.h that result in all that errors.
As fast as i enter "#include <windows.h>" and compiles, the compiler spits these 9 errors in my face.
I know my coding is error-free!
BTW, here is the errors and please help!
c:\program\microsoft visual studio\vc98\include\winuser.h(856) : error C2061: syntax error : identifier 'LPSECURITY_ATTRIBUTES'
c:\program\microsoft visual studio\vc98\include\winuser.h(866) : error C2061: syntax error : identifier 'LPSECURITY_ATTRIBUTES'
c:\program\microsoft visual studio\vc98\include\winuser.h(986) : error C2061: syntax error : identifier 'LPSECURITY_ATTRIBUTES'
c:\program\microsoft visual studio\vc98\include\winuser.h(994) : error C2061: syntax error : identifier 'LPSECURITY_ATTRIBUTES'
c:\program\microsoft visual studio\vc98\include\winnls.h(818) : error C2501: 'WINBASEAPI' : missing storage-class or type specifiers
c:\program\microsoft visual studio\vc98\include\winnls.h(826) : error C2146: syntax error : missing ';' before identifier 'UINT'
c:\program\microsoft visual studio\vc98\include\winnls.h(826) : error C2501: 'WINBASEAPI' : missing storage-class or type specifiers
c:\program\microsoft visual studio\vc98\include\winnls.h(826) : error C2086: 'WINBASEAPI' : redefinition
c:\program\microsoft visual studio\vc98\include\winnls.h(826) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|