public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Chris Faylor <cgf@cygnus.com>
To: cygwin@sources.redhat.com
Subject: Re: GetSecurityInfo() link problem
Date: Thu, 28 Sep 2000 18:31:00 -0000	[thread overview]
Message-ID: <20000928213013.A16204@cygnus.com> (raw)
In-Reply-To: <200009281312.PAA01402@mail.eng.it>

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

      reply	other threads:[~2000-09-28 18:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-28  6:12 Gian Uberto Lauri
2000-09-28 18:31 ` Chris Faylor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000928213013.A16204@cygnus.com \
    --to=cgf@cygnus.com \
    --cc=cygwin@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).