This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: Why not export pthread_getsequence_np in cygwin1.dll?


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/


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