开发者

How can I tell [G]vim where to look for python26.dll?

I have a version of Vim compiled with python 2.6 support enabled (from here). however vim cannot find the python26.dll.

:version confirms +python/dyn
:version and gvim.exe confirms DYNAMIC_PYTHON_DLL="python26.dll"
echo PAT开发者_运维技巧H confirms python26.dll is in the search path.
    (both c:\windows\system32, and C:\python26)

What could I be missing? Did I skip something silly?

UPDATE Nevermind. I just saw it. Vim is x86 and python is x64. Sorry to waste your time. Score 1 for Dependancy Walker


Be sure that any dll you try to load is compiled for the same architecture as the exe. e.g. If you have x86 Vim installed. Make sure that the python dll you are loading is not x64, or vice-versa.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜