delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/31/06:14:28

From: root AT jacob DOT remcomp DOT fr (root)
Subject: Re: Simple windows program won't compile
31 May 1997 06:14:28 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <m0wXZLQ-000AL3C.cygnus.gnu-win32@jacob.remcomp.fr>
Original-To: jbanes AT midplains DOT net (theace)
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <338DE7DB.1F7E8FA2@midplains.net> from "theace" at May 29, 97 03:32:28 pm
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> 
>    Hello. I have a little problem that I was hoping someone could help
> with. I can not figure out why the following program won't compile
> without errors. If you don't see anything wrong with it, could you try
> compiling it and see if you have problems? Thank you.
> 
> Begin Program:
> 
> 
> #include <windows.h>
> 
> LRESULT CALLBACK MyFunc(HWND, UNIT, WPARAM, LPARAM);
                                ^^^^
'UNIT' doesn't exist... UINT does.
> 
[snip snip]
> 
> }
> 
> LRESULT CALLBACK MyFunc(HWND hwnd,UNIT message, WPARAM wParam, LPARAM lParam)
                                    ^^^^
Same as above

The problem with brains, is that they see what they want to see. Machines are
different. I have done this same kind of mistake many times, and can look
hundreds of times the same syntax error without seeing anything wrong with it!


-- 
Jacob Navia	Logiciels/Informatique
41 rue Maurice Ravel			Tel 01 48.23.51.44
93430 Villetaneuse 			Fax 01 48.23.95.39
France
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019