Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 29 May 2002 10:21:55 +0400
From: egor duda <deo@logos-m.ru>
Reply-To: egor duda <cygwin@cygwin.com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <157920282546.20020529102155@logos-m.ru>
To: Christopher Faylor <cygwin@cygwin.com>
Subject: Re: libkernel32.a missing TOOLHELP API exports
In-Reply-To: <20020528210857.GA6491@redhat.com>
References: <005901c20689$edb2a7f0$fe00a8c0@laptop>
 <20020528210857.GA6491@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi!

Wednesday, 29 May, 2002 Christopher Faylor cgf@redhat.com wrote:

>>I've attempted to build the wine psapi.dll under windows using msys and
>>cygwin and I get this result:
>>
>>psapi_main.o(.text+0x308):psapi_main.c: undefined reference to
>>`Process32First@8'
>>psapi_main.o(.text+0x31f):psapi_main.c: undefined reference to
>>`Process32Next@8'
>>psapi_main.o(.text+0x698):psapi_main.c: undefined reference to
>>`Module32First@8'
>>psapi_main.o(.text+0x6af):psapi_main.c: undefined reference to
>>`Module32Next@8'
>>
>>If no one else wants to do it I can submit a patch. What list do I need
>>to report win32api bugs on?

CF> Either or both of

CF> cygwin-patches@cygwin.com and mingw-dvlpr@sourceforge.net .

CF> I'm not sure where these definitions should go, though.  Do they go into
CF> the kernel32.def file or should there be a separate tlhlp32.def file?

Process32First@8 is not present in kernel32.dll on nt4.0 sp5.
I believe this kind of api is very OS-specific. On nt4.0 process
enumeration functions are available from microsoft's psapi.dll
included (among others) in Resource kit.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19


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

