Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 5 Mar 2001 17:45:09 -0800 (Pacific Standard Time) From: Jason Tiller To: Subject: Re: Patch submission for AltGr handling In-Reply-To: <20010305195035.A757@redhat.com> Message-ID: X-X-Sender: jdtiller AT shell3 DOT ba DOT best DOT com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, Chris, :) On Mon, 5 Mar 2001, Christopher Faylor wrote: > On Mon, Mar 05, 2001 at 04:02:55PM -0800, Jason Tiller wrote: > >On Mon, 5 Mar 2001, Corinna Vinschen wrote: > >> Could you please resubmit a patch which doesn't introduce another > >> CYGWIN option but instead uses automatic recognition of the current > >> keyboard setting? > >Can do. :) Glad to know people thought it useful enough to go > >forward! > >A little investigation showed that GetKeyboardLayout is exported in > >libuser32.a. The problem, then, is that the new_cygwin1.dll link > >doesn't explicitly reference libuser32.a. (As far as I can tell, > >it only refernces libkernel32.a from the core Windows files.) > Take a look at autoload.cc. You need to add the "declaration" for > this function there. Thanks for the tip. I do see how that works. One thing I don't understand, though - why do you go through the code you do to load procedure addresses instead of LoadProcAddress()'ing them? Looking forward to enlightenment, ---Jason Tiller jdtiller AT sjm DOT com Sonos -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple