Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <38CFA385.B0594DCE@sigma6.com> Date: Wed, 15 Mar 2000 09:51:49 -0500 From: Jeff Sturm Organization: AppNet X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Axel Riese CC: =?iso-8859-1?Q?=D8ystein?= O Johansen , Cygwin Mailing List Subject: Re: Linking problem: IsWindowVisible References: <200003151438 DOT PAA85199 AT andromeda DOT risc DOT uni-linz DOT ac DOT at> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Axel Riese wrote: > > > Yes, I worked that out by self. But I still get undefined > > > reference to 'IsWindowVisible' ? > > > > You may be missing a declaration for IsWindowVisible. Does the source > > file have #include anywhere? > > Hm, in this case you should have problems at compile time, not at > link time, shouldn't you ? Not necessarily. In the absence of a declaration, C will guess "int IsWindowVisible()", which in this case is wrong. BTW you can catch such problems by compiling with -Wall: jcs.c:4: warning: implicit declaration of function `IsWindowVisible' -- Jeff Sturm jsturm AT sigma6 DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com