This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Linking problem: IsWindowVisible


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@4' is.

-- 
Jeff Sturm
jsturm@sigma6.com

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]