* GetSecurityInfo() link problem
@ 2000-09-28 6:12 Gian Uberto Lauri
2000-09-28 18:31 ` Chris Faylor
0 siblings, 1 reply; 2+ messages in thread
From: Gian Uberto Lauri @ 2000-09-28 6:12 UTC (permalink / raw)
To: cygwin
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...
*/
Gian Uberto Lauri
lauri@eng.it
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GetSecurityInfo() link problem
2000-09-28 6:12 GetSecurityInfo() link problem Gian Uberto Lauri
@ 2000-09-28 18:31 ` Chris Faylor
0 siblings, 0 replies; 2+ messages in thread
From: Chris Faylor @ 2000-09-28 18:31 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-09-28 18:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-28 6:12 GetSecurityInfo() link problem Gian Uberto Lauri
2000-09-28 18:31 ` Chris Faylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).