This is the mail archive of the cygwin@sources.redhat.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: GetSecurityInfo() link problem


On Thu, Sep 28, 2000 at 03:12:00PM +0200, Gian Uberto Lauri wrote:
>I had problem while trying to use this call. Even if I added advapi32 to
>the linking list I got a missing simbol error from ld.
>
>/*
>	I was trying to use this call and GetWindowThreadProcessID()
>	because an attempt to CreateProcess() in a window procedure
>	crashed and the same attempt from a spawned thread failed.
>
>	Then I reverted to the good old system() and everything
>	is o.k. now... 
>
>	But the linker error is still there...
>*/

#if 1
You are probably not including the correct header file to declare
these two functions.  You probably need to include "windows.h".
From the MSDN documentation, GetWindowThreadProcessId is located in
user32.dll.
#endif

// cgf

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