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: [ANNOUNCEMENT] Updated: sqlite3-3.8.7.1-1 for Cygwin/Cygwin64


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

Attachment: pgplWKAsYSGBZ.pgp
Description: PGP signature


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