delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/16/05:45:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001016094459.8208.qmail@web6402.mail.yahoo.com>
Date: Mon, 16 Oct 2000 22:44:59 +1300 (NZDT)
From: =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001 AT yahoo DOT co DOT nz>
Subject: Re: gcc and Win32 API
To: cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0

>OK. Here is the exact error message (which I should have included):

>tulip $ gcc blather.c
>/cygdrive/c/DOCUME~1/NEILZA~1/LOCALS~1/Temp/ccd3Ck45.o(.text+0x88):blather.c:
un
>defined reference to `GetStockObject AT 4'
>collect2: ld returned 1 exit status
>tulip $

>BTW, Cygwin is installed on a FAT partition. The rest of Win2K is on
>NTFS.
>Does this matter? (probablly not). What is GetStockObject?

GREP (or findstr) and ye shall find.
Look in wingdi.h:  HGDIOBJ WINAPI GetStockObject(int)
and then look in libgdi32.a

Cheers

_____________________________________________________________________________
http://clubs.yahoo.com.au - Yahoo! Clubs
- Join a club or build your own!

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