Patch 7.0.Make_GvimExt
Problem:    On Windows, when GvimExt is built with Microsoft Visual
            Studio 2005, the context menu item "Edit with vim" doesn't
            appear in Explorer. Reason: GvimExt.dll cannot be loaded,
            because it is not prepared to the Windows Side by Side
            Components subsystem and so cannot find the C Runtime
            library in MSVCR80.dll.
Solution:   A manifest file is created by the linker. Embed it into
            the resources of GvimExt.dll.
Files:      src/GvimExt/Makefile


*** ..\vim-7.0.000\src\GvimExt\Makefile 2006-05-07 16:13:00.000000000 +0200
--- src\GvimExt\Makefile        2006-05-30 14:42:37.168430400 +0200
***************
*** 19,24 ****
--- 19,25 ----
  # $(implib) /NOLOGO -machine:$(CPU) -def:gvimext.def $** -out:gvimext.lib
  # $(link) $(dlllflags) -base:0x1C000000 -out:$*.dll $** $(olelibsdll) 
shell32.lib gvimext.lib comctl32.lib gvimext.exp
    $(link) $(lflags) -dll -def:gvimext.def -base:0x1C000000 -out:$*.dll $** 
$(olelibsdll) shell32.lib comctl32.lib
+   if exist $*.dll.manifest mt -nologo -manifest $*.dll.manifest 
-outputresource:$*.dll;2

  gvimext.obj: gvimext.h

***************
*** 34,36 ****
--- 35,38 ----
      - if exist gvimext.exp del gvimext.exp
      - if exist gvimext.obj del gvimext.obj
      - if exist gvimext.res del gvimext.res
+     - if exist gvimext.dll.manifest del gvimext.dll.manifest

-- 
Thanks a lot for the GvimExt project for Windows! I appreciate it
very much.

Greetings
Mathias

Reply via email to