From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26666 invoked by alias); 10 Nov 2014 11:55:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 26656 invoked by uid 89); 10 Nov 2014 11:55:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Nov 2014 11:55:12 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id D890A8E12EE; Mon, 10 Nov 2014 12:55:09 +0100 (CET) Date: Mon, 10 Nov 2014 11:55:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [ANNOUNCEMENT] Updated: sqlite3-3.8.7.1-1 for Cygwin/Cygwin64 Message-ID: <20141110115509.GG2782@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <133E1FBB-4DFA-49E0-B8F8-7B0DAD167FCC@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bO4vSxwwZtUjUWHo" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-11/txt/msg00181.txt.bz2 --bO4vSxwwZtUjUWHo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1134 On Nov 10 12:36, Jan Nijtmans wrote: > 2014-11-08 22:41 GMT+01:00 Alexpux: > > Hi! > > We tried to update MSYS2 sqlite3 to the same version and found that on = i686 doesn=E2=80=99t work properly because the wrong calling convention is = used when calling GetModuleHandleW and SetDllDirectoryW. > > Here is the patch to fix this issue: >=20 > Thank you very much! >=20 > sqlite3-3.8.7.1-2 for Cygwin (i686 only) is available now with this fix > (SetDllDirectoryW was used for Cygwin too, so this might have had ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ What for? This should not be necessary. =20=20=20=20 If this is for loading modules via dlopen, the solution should be to either to add the directory to LD_LIBRARY_PATH, or enhance Cygwin if it's an issue with loading dependent DLLs. We can still add=20 LoadLibraryEx(LOAD_WITH_ALTERED_SEARCH_PATH). Ultimately a Cygwin application should not have to call Win32 functions, except if there's really no way around it. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --bO4vSxwwZtUjUWHo Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUYKedAAoJEPU2Bp2uRE+gxTwP/RKvtzqlgkEC5+hwi239H8OZ 3cj1Sk4tOvARyKk4/k+mIrzflo0R0f+czGxajHZsPh9b+m8A7MYZC61TeQTdDDJI suvzlhVHE3m+cR4aJpKaoFk0TjjDDPcpq2WHlziQjEv0GGA0jZnHJ8jnC9utrQtk R2XpqxzfSHRJrSCZAN5S2mN5jwPYZdNgpuC0F3W6U8zOxkJicvL1UR63rkavc0rJ ij9nXu0FQjBijIbstZaSQirH+C9/xKfOnCWTMUqJOm9wJm2UjV1EOIVLkGBNcJrp zWT6fx4HMQ5U5aLAokpclwH901YLDNjqajlstOv6k2g9fO6HjAKY5rqRJCT0/GEc vjJDrJLCdn/W28L2a5orI7o+GdJu30JU3JpdFzd+Ki+jyf09uuu1BMaGLol4fIcv Alafp+9g7f41S4fdBd0aI9p0C1C429r+WD/VG7r+tXhRXftRo6mWul0TttMM3kdc qUkf7dc7F9HxTwz83S0wk4O/2HVgjI2w+LqXDtEpafRUTpbt3AfssTYXRVdxdcXP yd0D4BaVV47fUnF7RqeSqlnsnAiXIGQmo55EEZStkvUPmxnSBmkrsGn/+MwYJyIp p8WlCLLavtby7UupD8n9W5F1c2R6KVUY8QcGQRkOlYvmQZDu7YcB9G9ITGb5lW0A OnZYltgUvtnhYz9kAbVe =6a+T -----END PGP SIGNATURE----- --bO4vSxwwZtUjUWHo--