Hi,

The current version of Vim uses an address of _errno which is exported by
msvcrXX.dll to check the error code of (lib)iconv.dll.
However the version (or name) of msvcrXX.dll is fixed at the compile time,
we cannot use another version of iconv.dll which is linked against another
version of msvcrXX.dll.

I wrote a patch which uses an address of _errno which is actually
linked with the iconv.dll.
https://gist.github.com/4292446

This patch uses a technique similar to API hooking.
(Jeffrey Richter's "Windows via C/C++" has good information about
API hooking.)

Best regards,
Ken Takata

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui