www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/15/10:08:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <38CFA7C0.B4816DE0@sigma6.com>
Date: Wed, 15 Mar 2000 10:09:52 -0500
From: Jeff Sturm <jsturm AT sigma6 DOT com>
Organization: AppNet
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Axel Riese <Axel DOT Riese AT risc DOT uni-linz DOT ac DOT at>
CC: =?iso-8859-1?Q?=D8ystein?= O Johansen <OJOHANS AT statoil DOT com>,
Cygwin
Mailing List <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Linking problem: IsWindowVisible
References: <200003151457 DOT PAA85319 AT andromeda DOT risc DOT uni-linz DOT ac DOT at>

Axel Riese wrote:
> Yes, clear. But I have my doubts that one can get an undefined reference
> due to a missing declaration.

Sure you can, because the __stdcall modifier alters the linkage name of
the symbol.

> Anyway, adding -mwindows or -luser32
> should solve the problem.

IIRC the undefined symbol was 'IsWindowVisible', which is a symptom of a
different problem.  That symbol isn't defined in any Win32 library...
'IsWindowVisible AT 4' is.

-- 
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

- Raw text -


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