[ANNOUNCEMENT] Updated: sqlite3-3.8.7.1-1 for Cygwin/Cygwin64

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Nov 10 11:55:00 GMT 2014


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’t work properly because the wrong calling convention is used when calling GetModuleHandleW and SetDllDirectoryW.
> > Here is the patch to fix this issue:
> 
> Thank you very much!
> 
> 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.
    
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 
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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141110/1011c9b0/attachment.sig>


More information about the Cygwin mailing list