Re: error C2061



CBFalconer wrote:
Martin Ambuhl wrote:
CBFalconer wrote:
madhu.ab@xxxxxxxxx wrote:

I am getting the following errors when i am including header
file winuser.h. I dont know whats happening. How will an error
occur in winuser.h?? Please help.

\microsoft visual studio\vc98\include\winuser.h(39) : error C2061:
syntax error : identifier 'HDWP'
That looks suspiciously like a windows header. It certainly
isn't mentioned in the C standard, which makes it off-topic on
c.l.c. Try a group that deals with Microsoft or Windows.
Cascading errors on the inclusion of a commonly used header are
commonly seen, and have nothing to do with Microsoft or Windows. He might have reported similar behavior when including a standard
header. You are too quick to jump on the off-topic wagon.

Are you claiming that winuser.h is mentioned in the C standard, or
that the experts on Windows C programming hang out here? If madhu
asks in the appropriate newsgroup he will get answers that have
been examined and criticized by multiple experts on the subject.

Don't be daft. I never in any post suggested that winuser.h was mentioned in the C standard, or that experts in Windows C programming hang out here. The kind of pronlem he reported is independent of any particular header, any particular implementation, or where any kind of expert other than in C programming hangs out. It is a common problem for inexpert C programmers, no matter what headers or what implementation they might use. Your seeing "winuser.h" and hitting the off-topic button is silly and is based on not looking at the actually reported problem.

.



Relevant Pages

  • Re: Automatically generate variables
    ... Must be C by your definition since crapit might possibly be a header that makes it C. ... I knew it was *the* windows windows.h header because the ... Given certain assumptions the C code was valid C code, however from what I remember it certainly was not a C program solving the problem since it not only relied on non-C APIs but also relied on external programs that in general are *not* installed on machine. ... You, on the other hand, just said that it might be C even if it goes beyond what the standard defined and gave no outer limit on what could be considered C. ...
    (comp.lang.c)
  • Re: File size increases
    ... format that will work on Windows. ... Are you SURE your header and footer is required to be a graphic? ... graphic is the logo. ...
    (microsoft.public.mac.office.word)
  • Trojan: Noptify.exe?
    ... OS: Windows XP Home w/SP1 ... I have always run software firewalls and am currently running Sygate ... Ethernet II (Packet Length: 62) ... Header checksum: 0x80c ...
    (comp.security.firewalls)
  • Re: How to change the up/down sort icon on list headers
    ... the width of the columns in Details view is controlled by the length of the longest entry in a folder. ... Click and Drag a header divider to change the width of a column. ... How to Change Column Settings in Windows Explorer ... header control away form using owner-draw and onto XP themes.... ...
    (microsoft.public.windowsxp.customize)
  • Re: Microsoft Tape Format
    ... the OS Specific Data entries in the Common Block Header for MTF_VILB, ... covers Windows NT up until version 1, we are using Windows XP professional ... listed as optional in the spec expected by ntBackup. ...
    (microsoft.public.development.device.drivers)