tags:

views:

162

answers:

1

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

+1  A: 

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.

Ariel