delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/21/15:23:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4C7027C8.1090408@gmail.com>
Date: Sat, 21 Aug 2010 15:23:52 -0400
From: Chris Sutcliffe <ir0nh34d AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: kernel32.dll breakage (was Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1)
References: <4C6FF91A DOT 1000402 AT alice DOT it> <20100821185842 DOT GV11340 AT calimero DOT vinschen DOT de>
In-Reply-To: <20100821185842.GV11340@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

  On 21/08/2010 2:58 PM, Corinna Vinschen wrote:
> Not anymore. I could reproduce the problem on XP, but not on W7. This
> reminded me of a checkin to w32api from yesterday.  The kernel32.def
> file, which is used to create the kernel32.a inport library for
> linking against kernel32.dll has been regenerated on a Windows 7 system.
>
> The problem is that CreateProcessAsUserW was never available in
> kernel32.dll, but in advapi32.dll(*).  However, with the new kernel32.def,
> CreateProcessAsUserW is now exported by kernel32.a as well.
>
> Apparently kernel32.dll *does* export CreateProcessAsUserW now under
> Windows 7.  However, *officially*, the CreateProcessAsUserW symbol is
> still provided by advapi32.dll.
>
> Chris [Sutcliffe], can we please revert this change for now?  It breaks
> building Win32 apps, if the link order prefers kernel32.a over advapi32.a.

Done.

> In theory, shouldn't the gendef script drop symbols from kernel32.def
> which are defined in advapi32.dll?  That would fix the problem, afaics.

That would be ideal, but I'm not sure what the capabilities of gendef 
are in this respect.

Cheers!

Chris


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019