I have the same problem with 7.3b BETA on Windows XP SP3 32-bit,
having associated a filetype by right-clicking in Windows Explorer and
setting it to always open in gvim.exe.

On Jul 28, 3:57 pm, Bram Moolenaar <b...@moolenaar.net> wrote:
> Garner Halloran wrote:
> > On Tue, Jul 27, 2010 at 6:52 PM, Ben Fritz <fritzophre...@gmail.com> wrote:
>
> > > On Jul 20, 9:22 am, Garner Halloran <garner...@gmail.com> wrote:
> > > > Using 7.3a BETA on Windows 7.  If I double click on any file in explorer
> > > > that has been associated with gvim it brings up an empty editor.  I can
> > > drag
> > > > the file into the window and it will work.  I can right click and Edit
> > > with
> > > > Vim and it will work.  Gvim is my editor for p4v and if I double click a
> > > > file there it works.
>
> > > What happens if you set up file associations manually?
>
> > >http://vim.wikia.com/wiki/Windows_file_associations
>
> > > This is probably a problem with the installer...maybe Windows 7 does
> > > file associations differently than previous Windows versions? If so we
> > > should update the tip as well as the installer.
>
> > > --
> > > 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, visithttp://www.vim.org/maillist.php
>
> > That did not work.  I tried this with just a .txt file.
>
> > assoc .txt=txtfile
> > ftype txtfile="c:\vim\vim73b\gvim.exe" --remote-silent "%1"
>
> > It still launches gvim but no text.
>
> > I also tried this:
>
> > assoc .=txtfile
>
> > Then I tried to double-click _vimrc and it opened it up in an existing gvim
> > and replaced one of my buffers.  I then closed all of my gvim windows and
> > tried again.  Double-clicking _vimrc opened it up in a new window.  Very
> > strange.
>
> > And finally I closed all gvim windows and tried opening a .txt file again,
> > but no luck.
>
> I suspect it's a problem with OLE.  It registers Vim as a server, but
> uses the ordinary registry methods.
>
> The installer src/dosinst.c was changed to use registry methods that
> also work for a 32 bit binary running on 64 bit windows.  Perhaps
> someone can look into this and adjust src/if_ole.cpp?
>
> --
> If all you have is a hammer, everything looks like a nail.
> When your hammer is C++, everything begins to look like a thumb.
>                         -- Steve Hoflich, comp.lang.c++
>
>  /// Bram Moolenaar -- b...@moolenaar.net --http://www.Moolenaar.net  \\\
> ///        sponsor Vim, vote for features --http://www.Vim.org/sponsor/\\\
> \\\        download, build and distribute --http://www.A-A-P.org       ///
>  \\\            help me help AIDS victims --http://ICCF-Holland.org   ///

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

Raspunde prin e-mail lui