Linking problem: IsWindowVisible

Earnie Boyd earnie_boyd@yahoo.com
Wed Mar 15 06:18:00 GMT 2000


--- Øystein_O_Johansen <OJOHANS@statoil.com> wrote:
> >> I got a program thet uses IsWindowVisible. I think this is a
> >> standard Win API function. But what to link it with? -lgdi32 fails.
> 
> > According to MS's online docu, it's -luser32.
> 

Use the -mwindows switch.  It'll add the necessary libraries to the build.

 

=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list