public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Linking problem: IsWindowVisible
@ 2000-03-15  5:27 Axel Riese
  0 siblings, 0 replies; 14+ messages in thread
From: Axel Riese @ 2000-03-15  5:27 UTC (permalink / raw)
  To: Cygwin Mailing List; +Cc: OJOHANS

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

- Axel


=======================================================================
Axel Riese
Research Institute for Symbolic Computation
J. Kepler University Linz                     Tel: +43 (0)732 2468 9939
Altenbergerstrasse 69                         Fax: +43 (0)732 2468 9930
A-4040 Linz                      e-Mail: Axel.Riese@risc.uni-linz.ac.at
Austria              http://www.risc.uni-linz.ac.at/people/ariese/home/
=======================================================================

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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Linking problem: IsWindowVisible
@ 2000-03-15  7:07 Øystein O Johansen
  0 siblings, 0 replies; 14+ messages in thread
From: Øystein O Johansen @ 2000-03-15  7:07 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 232 bytes --]

Well, thanks to Jeff, my program works now. Thanks for the help and thanks
for the interesting discussion.

Thanks all,
Øystein



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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Linking problem: IsWindowVisible
@ 2000-03-15  6:18 Earnie Boyd
  2000-03-15  6:34 ` Jeff Sturm
  0 siblings, 1 reply; 14+ messages in thread
From: Earnie Boyd @ 2000-03-15  6:18 UTC (permalink / raw)
  To: Øystein_O_Johansen, Cygwin Mailing List; +Cc: Axel Riese

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Linking problem: IsWindowVisible
@ 2000-03-15  6:12 Øystein O Johansen
  2000-03-15  6:17 ` Axel Riese
  2000-03-15  6:32 ` Jeff Sturm
  0 siblings, 2 replies; 14+ messages in thread
From: Øystein O Johansen @ 2000-03-15  6:12 UTC (permalink / raw)
  To: Cygwin Mailing List; +Cc: Axel Riese

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 589 bytes --]

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

Yes, I worked that out by self. But I still get undefined
reference to 'IsWindowVisible' ?

I even tried to remake the import library file (libuser32.a) from
the user32.def file and the user32.dll. Yes, user32.def does
include IsWindowVisible@4 in line 345, but it still doesn't link.

???

-Øystein



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

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Linking problem: IsWindowVisible
@ 2000-03-15  4:58 Øystein O Johansen
  0 siblings, 0 replies; 14+ messages in thread
From: Øystein O Johansen @ 2000-03-15  4:58 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 289 bytes --]

Hi!
I got a program thet uses IsWindowVisible. I think this is a
standard Win API function. But what to link it with? -lgdi32 fails.

undefined reference to 'IsWindowVisible'

-Øystein



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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2000-03-15  7:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-15  5:27 Linking problem: IsWindowVisible Axel Riese
  -- strict thread matches above, loose matches on Subject: below --
2000-03-15  7:07 Øystein O Johansen
2000-03-15  6:18 Earnie Boyd
2000-03-15  6:34 ` Jeff Sturm
2000-03-15  6:12 Øystein O Johansen
2000-03-15  6:17 ` Axel Riese
2000-03-15  6:32 ` Jeff Sturm
2000-03-15  6:39   ` Axel Riese
2000-03-15  6:48     ` Jeff Sturm
2000-03-15  6:58       ` Axel Riese
2000-03-15  7:02         ` Chris Faylor
2000-03-15  7:06         ` Jeff Sturm
2000-03-15  7:12           ` Axel Riese
2000-03-15  4:58 Øystein O Johansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).