# HG changeset patch # User Bram Moolenaar # Date 1375466732 -7200 # Node ID 585b623a1aa3baea87a1584e6064612b2183d312 # Parent d37fb0ea5c7a17ebd83e2b96284447a1aacf183a updated for version 7.4b.010 Problem: Win32: Tcl library load does not use standard mechanism. Solution: Call vimLoadLib() instead of LoadLibraryEx(). (Ken Takata) diff --git a/src/if_perl.xs b/src/if_perl.xs --- a/src/if_perl.xs +++ b/src/if_perl.xs @@ -495,7 +495,7 @@ static struct { /* * Make all runtime-links of perl. * - * 1. Get module handle using LoadLibraryEx. + * 1. Get module handle using dlopen() or vimLoadLib(). * 2. Get pointer to perl function by GetProcAddress. * 3. Repeat 2, until get all functions will be used. * diff --git a/src/if_tcl.c b/src/if_tcl.c --- a/src/if_tcl.c +++ b/src/if_tcl.c @@ -195,7 +195,7 @@ tcl_runtime_link_init(char *libname, int if (hTclLib) return OK; - if (!(hTclLib = LoadLibraryEx(libname, NULL, 0))) + if (!(hTclLib = vimLoadLib(libname))) { if (verbose) EMSG2(_(e_loadlib), libname); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 10, +/**/ 9, /**/ 8,