Ken Takata wrote:

> 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.)

That sounds good.  I'll actually look at the patch later.  Thanks!

-- 
If Microsoft would build a car...
... the oil, water temperature, and alternator warning lights would
all be replaced by a single "General Protection Fault" warning light.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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