2 Subject: Patch 6.2.529 (extra)
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: VisVim only works for Admin. Doing it for one user doesn't work.
13 Solution: When registering the module fails, simply continue.
14 Files: src/VisVim/VisVim.cpp
17 *** ../vim-6.2.528/src/VisVim/VisVim.cpp Mon Jan 7 17:16:20 2002
18 --- src/VisVim/VisVim.cpp Tue May 4 12:31:29 2004
21 // Registers object, typelib and all interfaces in typelib
22 hRes = _Module.RegisterServer (TRUE);
26 _ATL_OBJMAP_ENTRY *pEntry = _Module.m_pObjMap;
29 // Registers object, typelib and all interfaces in typelib
30 hRes = _Module.RegisterServer (TRUE);
32 ! // Hack: When this fails we might be a normal user, while the
33 ! // admin already registered the module. Returning S_OK then
34 ! // makes it work. When the module was never registered it
35 ! // will soon fail in another way.
36 ! // old code: return hRes;
39 _ATL_OBJMAP_ENTRY *pEntry = _Module.m_pObjMap;
41 *** ../vim-6.2.528/src/version.c Wed May 5 11:49:55 2004
42 --- src/version.c Wed May 5 11:53:56 2004
46 { /* Add new patch number below this line */
52 hundred-and-one symptoms of being an internet addict:
53 113. You are asked about a bus schedule, you wonder if it is 16 or 32 bits.
55 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
56 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
57 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
58 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///