| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| From: | Chris Faylor <cgf AT cygnus DOT com> |
| Date: | Thu, 28 Sep 2000 21:30:13 -0400 |
| To: | cygwin AT sources DOT redhat DOT com |
| Subject: | Re: GetSecurityInfo() link problem |
| Message-ID: | <20000928213013.A16204@cygnus.com> |
| Reply-To: | cygwin AT sources DOT redhat DOT com |
| Mail-Followup-To: | cygwin AT sources DOT redhat DOT com |
| References: | <200009281312 DOT PAA01402 AT mail DOT eng DOT it> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.3.6i |
| In-Reply-To: | <200009281312.PAA01402@mail.eng.it>; from lauri@mail.eng.it on Thu, Sep 28, 2000 at 03:12:00PM +0200 |
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 AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |