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
index 4c46f2a..a2247f0 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -495,7 +495,7 @@
/*
* 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
index 36ff320..be9cd64 100644
--- a/src/if_tcl.c
+++ b/src/if_tcl.c
@@ -195,7 +195,7 @@
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
index 9b5343e..61694a4 100644
--- a/src/version.c
+++ b/src/version.c
@@ -728,6 +728,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 10,
+/**/
9,
/**/
8,