#include <winbase.h> gives me syntax errors in winbase.h 
Author Message
 #include <winbase.h> gives me syntax errors in winbase.h

I'm including <winbase.h> so I can get GetModuleFileName
().  When I compile the file, I get 74 errors starting
with this one:

c:\program files\microsoft visual studio\vc98
\include\winbase.h(216) : error C2146: syntax error :
missing ';' before identifier 'Internal'

I've been studying the code in winbase.h and haven't been
able to debug this.  Any ideas?

  Thank you,

    Kev

      Z++ Technologies



Fri, 02 Jul 2004 22:19:15 GMT  
 #include <winbase.h> gives me syntax errors in winbase.h


Wed, 18 Jun 1902 08:00:00 GMT  
 #include <winbase.h> gives me syntax errors in winbase.h
I found a comment in a file called TLHELP32.H that
mentioned <windows.h>.   That did the trick!
Quote:
>-----Original Message-----
>I'm including <winbase.h> so I can get GetModuleFileName
>().  When I compile the file, I get 74 errors starting
>with this one:

>c:\program files\microsoft visual studio\vc98
>\include\winbase.h(216) : error C2146: syntax error :
>missing ';' before identifier 'Internal'

>I've been studying the code in winbase.h and haven't been
>able to debug this.  Any ideas?

>  Thank you,

>    Kev

>      Z++ Technologies
>.



Fri, 02 Jul 2004 22:28:35 GMT  
 #include <winbase.h> gives me syntax errors in winbase.h


Wed, 18 Jun 1902 08:00:00 GMT  
 #include <winbase.h> gives me syntax errors in winbase.h
        include <windows.h> instead of <winbase.h>

Cheers
Check Abdoul
-------------------


Quote:
> I'm including <winbase.h> so I can get GetModuleFileName
> ().  When I compile the file, I get 74 errors starting
> with this one:

> c:\program files\microsoft visual studio\vc98
> \include\winbase.h(216) : error C2146: syntax error :
> missing ';' before identifier 'Internal'

> I've been studying the code in winbase.h and haven't been
> able to debug this.  Any ideas?

>   Thank you,

>     Kev

>       Z++ Technologies



Fri, 02 Jul 2004 22:31:29 GMT  
 #include <winbase.h> gives me syntax errors in winbase.h
Don't include winbase.h directly.  Include it via windows.h or afx.h.
--
Mike Ober.


Quote:
> I'm including <winbase.h> so I can get GetModuleFileName
> ().  When I compile the file, I get 74 errors starting
> with this one:

> c:\program files\microsoft visual studio\vc98
> \include\winbase.h(216) : error C2146: syntax error :
> missing ';' before identifier 'Internal'

> I've been studying the code in winbase.h and haven't been
> able to debug this.  Any ideas?

>   Thank you,

>     Kev

>       Z++ Technologies



Sat, 03 Jul 2004 02:32:18 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Error whenever I include <winbase.h>

2. Error whenever I include winbase.h

3. Winbase.h and compilation errors

4. Missing Storage class error in winbase.h

5. update: wince error with winbase.h

6. <<<<<<<Parsing help, please>>>>>>>>

7. File Format conversion, ascii freeform -->.csv <-->.wk1<-->dbf<-->?HELP

8. _WIN32_WINNT &WinBase.h

9. Question about "winbase.h" header file

10. winbase.h and GetLastError()

11. Sleep in winbase.h?

12. Function does not exist in winbase.h

 

 
Powered by phpBB® Forum Software