This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: kernel32.dll breakage (was Re: [ANNOUNCEMENT] Updated: cygwin-1.7.6-1)

On Aug 21 15:23, Chris Sutcliffe wrote:
>  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.

Thanks.  Are you sure that only CreateProcessAsUserW is affected?

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

I'm curious, where is that gendef script?  For some reason it isn't part
of the w32api sources in CVS.  Wouldn't it make sense to check it in as


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]