This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Why not export pthread_getsequence_np in cygwin1.dll?
- From: Christopher Faylor <cgf_noreply at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 27 Nov 2002 10:24:13 -0500
- Subject: Re: Why not export pthread_getsequence_np in cygwin1.dll?
- References: <200211270651.gAR6pinI006518@alumni.csie.nctu.edu.tw>
- Reply-to: cygwin at cygwin dot com
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/