It is really problematic to get python extensions to work on Windows, mainly due to the fact that the manifest we are providing is not compatible and/or VIM is built with the static CRT.
This patch embeds the generated manifest file. The existing gvim.exe.mnf file has been slightly truncated, as it should really not dictate which assemblies are required. It will still be compiled by the resource compiler, and should provide the extra info i.e. description and DPI settings. The patch was generated by "git format-patch", but should be applyable with "patch -p1". -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
>From de501d8b615211d89e0f1d61e8bd789b3998df5b Mon Sep 17 00:00:00 2001 From: Jacques Germishuys <[email protected]> Date: Mon, 19 May 2014 19:41:36 +0200 Subject: [PATCH] Embed manifest in binary for multithreaded builds --- src/Make_mvc.mak | 7 ++++--- src/gvim.exe.mnf | 22 ---------------------- 2 files changed, 4 insertions(+), 25 deletions(-) diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak index ab02890..44defc4 100644 --- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -973,6 +973,7 @@ $(VIM).exe: $(OUTDIR) $(OBJ) $(GUI_OBJ) $(OLE_OBJ) $(OLE_IDL) $(MZSCHEME_OBJ) \ $(LUA_OBJ) $(MZSCHEME_OBJ) $(PERL_OBJ) $(PYTHON_OBJ) $(PYTHON3_OBJ) $(RUBY_OBJ) \ $(TCL_OBJ) $(SNIFF_OBJ) $(CSCOPE_OBJ) $(NETBEANS_OBJ) \ $(XPM_OBJ) $(OUTDIR)\version.obj $(LINKARGS2) + - if exists $(VIM).exe.manifest mt.exe -nologo -manifest $(VIM).exe.manifest -outputresource:$(VIM).exe;1 $(VIM): $(VIM).exe @@ -1012,6 +1012,7 @@ clean: - if exist $(OUTDIR)/nul $(DEL_TREE) $(OUTDIR) - if exist *.obj del *.obj - if exist $(VIM).exe del $(VIM).exe + - if exist $(VIM).exe.manifest del $(VIM).exe.manifest - if exist $(VIM).ilk del $(VIM).ilk - if exist $(VIM).pdb del $(VIM).pdb - if exist $(VIM).map del $(VIM).map diff --git a/src/gvim.exe.mnf b/src/gvim.exe.mnf index 206fd2b..48294f0 100644 --- a/src/gvim.exe.mnf +++ b/src/gvim.exe.mnf @@ -7,28 +7,6 @@ name="Vim" /> <description>Vi Improved - A Text Editor</description> - <dependency> - <dependentAssembly> - <assemblyIdentity - type="win32" - name="Microsoft.Windows.Common-Controls" - version="6.0.0.0" - publicKeyToken="6595b64144ccf1df" - language="*" - processorArchitecture="*" - /> - </dependentAssembly> - </dependency> - <!-- Vista security requirements --> - <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> - <security> - <requestedPrivileges> - <requestedExecutionLevel - level="asInvoker" - uiAccess="false"/> - </requestedPrivileges> - </security> - </trustInfo> <!-- Vista High DPI aware --> <asmv3:application> <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> -- 1.8.1.msysgit.1
