Question about "winbase.h" header file 
Author Message
 Question about "winbase.h" header file

I am using the "winbase.h" header file in my C program and it gives me
errors in almost every single definition in the header file. Anyone
knows why or what I am doing wrong?
sagun

Sent via Deja.com http://www.*-*-*.com/
Share what you know. Learn what you don't.



Mon, 19 Nov 2001 03:00:00 GMT  
 Question about "winbase.h" header file

Quote:
> I am using the "winbase.h" header file in my C program and it gives me
> errors in almost every single definition in the header file. Anyone
> knows why or what I am doing wrong?

If I remember correctly, you have to #include windows.h first.  It
might even be that after that you don't have to include winbase.h
separately.

However, I'm not a windows programmer, so... :-)

--
Jeroen



Mon, 19 Nov 2001 03:00:00 GMT  
 Question about "winbase.h" header file

Quote:

>I am using the "winbase.h" header file in my C program and it gives me
>errors in almost every single definition in the header file. Anyone
>knows why or what I am doing wrong?

If you want to program in Standard C, you must include only standard
C headers:

    <stdio.h>   <string.h>   <setjmp.h>
    <stdlib.h>  <limits.h>   <signal.h>
    <ctype.h>   <math.h>     <assert.h>
    <time.h>    <errno.h>    <locale.h>

as well as, more recently:

    <inttypes.h>
    <iso646.h>

and others.

If you include non-standrad headers, your program isn't standard C,
and is outside of the scope of the comp.lang.c newsgroup.
Problems related to headers not part of standard C are best discussed
in platform-specific newsgroups. Since <winbase.h> is a Windows NT header
file, you should ask about it in a Windows NT programming newsgroup.



Mon, 19 Nov 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Header file "eds.h"

2. How to "Extract" Dll file header

3. How to "Extract" Dll file header

4. How to "Extract" Dll file header

5. newbie question - "Cannot open include file"

6. VC6 "Find in files" question

7. Help:"Apex DBGrid Header Column informations"

8. Help on header "curses.h"

9. Help:"Apex DBGrid Header Column infprmations"

10. "Heading" above column headers in CListView

11. remove() vrs fopen("""w")

12. Displaying binary data as ascii "1"'s and "0"'s

 

 
Powered by phpBB® Forum Software