| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Wed, 27 Nov 2002 10:24:13 -0500 |
| From: | Christopher Faylor <cgf_noreply AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Why not export pthread_getsequence_np in cygwin1.dll? |
| Message-ID: | <20021127152413.GD6924@redhat.com> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <200211270651 DOT gAR6pinI006518 AT alumni DOT csie DOT nctu DOT edu DOT tw> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <200211270651.gAR6pinI006518@alumni.csie.nctu.edu.tw> |
| User-Agent: | Mutt/1.5.1i |
On Wed, Nov 27, 2002 at 02:51:44PM +0800, Vive l'amour wrote: >can any of you tell me how to call Win32 API in cygwin? I've tried to >call GetCurrentThreadId() in my program but ld failed to locate the >symbol, even though I supplied it with a correct search path for >w32api. (-lkernel32) You include the correct header (windows.h) and call the function. If GetCurrentThreadId wasn't found then you probably didn't include the correct header. cgf -- Please do not send me personal email with cygwin questions or observations. Use the resources at http://cygwin.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |