[Bug #3339] win32ole test failure

Bug #3339: win32ole test failure
http://redmine.ruby-lang.org/issues/show/3339

e$B5/I<<Te(B: Usaku NAKAMURA
e$B%9%F!<%?%9e(B: Assigned, e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B: Masaki S., e$B%+%F%4%je(B: ext, Target version: 1.9.2
ruby -v: ruby 1.9.3dev (2010-05-25 trunk 28007) [i386-mswin32]

win32olee$B$N%F%9%H$,e(B1e$B7o<:GT$7$^$9!#e(B
e$B4D6-$Oe(BWindows 7(32bit)e$B$G$9!#e(B
e$BD>A0$Ne(BInvokeVerbe$B$,<:[email protected]$m$&$H$O;W$&$s$G$9$,!"860x$rD4::$9$k$K$Oe(B
e$B2?$r$9$l$P$$$$$G$9$+!)e(B

  1. Failure:
    test_invokeverb(TestInvokeVerb)
    [test/win32ole/test_folderitem2_invokeverb.rb:75]:
    <1> expected but was
    <0>.

e$B=uED$G$9!#e(B

On Tue, May 25, 2010 at 04:25:13PM +0900, Usaku NAKAMURA wrote:

e$BD>A0$Ne(BInvokeVerbe$B$,<:[email protected]$m$&$H$O;W$&$s$G$9$,!"860x$rD4::$9$k$K$Oe(B
e$B2?$r$9$l$P$$$$$G$9$+!)e(B

e$B$4Js9p$"$j$,$H$&$4$6$$$^$9!#e(B

e$B0J2<$K5-:$7$?%9%/%j%W%H$N<B9T7k2L$r65$([email protected]$1$^$9$+!)e(B
e$B4|BT$7$F$$$k7k2L$O!"e(B
(1) e$B%+%l%s%H%G%#%l%/%H%j$Ke(B test.txt e$B$,$G$-$F$$$k!#e(B
(2) test.txt e$B$X$N%7%g!<%H%+%C%H$,e(B2e$B$D$G$-$F$$$k!#e(B
(3) e$B!V%7%g!<%H%+%C%H$N:[email protected](B(&S)e$B!W$H=PNO$5$l$k!#e(B
e$B$G$9!#e(B

-- encoding:Windows-31J --

require ‘win32ole’
WIN32OLE.codepage = 932
fso = WIN32OLE.new(‘Scripting.FileSystemObject’)
cfolder = fso.getFolder(".")
f = cfolder.CreateTextFile(“test.txt”)
f.close
shell = WIN32OLE.new(‘Shell.Application’)
nsp = shell.namespace(cfolder.path)
fi = nsp.parseName(“test.txt”)
shortcut = fi.verbs.each.collect{|verb|
verb.name
}.find {|name|
name.unpack(“C*”) == [
131, 86, 131, 135, 129, 91, 131, 103, 131, 74,
131, 98, 131, 103, 130, 204, 141, 236, 144, 172,
40, 38, 83, 41]
}
puts shortcut
arg = WIN32OLE_VARIANT.new(“e$B%7%g!<%H%+%C%H$N:[email protected](B(&S)”)
fi.InvokeVerb(arg)
arg = WIN32OLE_VARIANT.new(shortcut)
fi.InvokeVerb(arg)

  • test_folderitem2_invokeverb.rb e$B$,2?$r$d$C$F$$$k$+!)e(B
    e$B%F%9%H$O!"e(BInvokeVerbe$B$,!"e(BWin32OLE
    e$B$G$b<B9T$G$-$k$3$H$r3NG’$7$F$$$^$9!#e(B

InvokeVerbe$B$O0z?t$rCMEO$7$K$9$kI,MW$,$"$j$^$9!#e(B
Win32OLEe$B$G$Oe(B
InvokeVerb(“e$B%7%g!<%H%+%C%H$N:[email protected](B(&S)”)
e$B$H$d$k$H;2>HEO$7$K$J$C$F$7$^$$!"%7%g!<%H%+%C%H$,$G$-$^$;$s!#e(B
e$B%F%9%H$G$O!"e(BWIN32OLE_VARIANT e$B$r;H$($P!“0z?t$Ne(B
e$BCMEO$7$,<B8=$G$-!”%7%g!<%H%+%C%H$,$G$-$k$3$H$r3NG’$7$F$$$^$9!#e(B

e$B=uEDe(B

e$B$3$s$K$A$O!"$J$+$`$ie(B(e$B$&e(B)e$B$G$9!#e(B

In message “[ruby-dev:41411] Re: [Bug #3339] win32ole test failure”
on May.25,2010 20:22:59, [email protected] wrote:

e$B0J2<$K5-:$7$?%9%/%j%W%H$N<B9T7k2L$r65$([email protected]$1$^$9$+!)e(B
e$B4|BT$7$F$$$k7k2L$O!"e(B
(1) e$B%+%l%s%H%G%#%l%/%H%j$Ke(B test.txt e$B$,$G$-$F$$$k!#e(B
(2) test.txt e$B$X$N%7%g!<%H%+%C%H$,e(B2e$B$D$G$-$F$$$k!#e(B
(3) e$B!V%7%g!<%H%+%C%H$N:[email protected](B(&S)e$B!W$H=PNO$5$l$k!#e(B
e$B$G$9!#e(B

(1) 0e$B%P%$%H$N%U%!%$%ke(B test.txt e$B$,:[email protected]$5$l$ke(B
(2) e$B%7%g!<%H%+%C%[email protected]:[email protected]$5$l$F$$$J$$e(B
(3) e$B!V%7%g!<%H%+%C%H$N:[email protected](B(&S)e$B!W$O=PNO$5$l$F$$$k!#e(B

InvokeVerbe$B$N<B9T7k2Le(B(HRESULTe$B$H$+e(B)e$B$r<h$kJ}K!$H$+$J$$$s$G$9$+$Me(B
e$B$(!#e(B

e$B$=$l$G$O!#e(B

e$B=uED$G$9!#e(B

On Tue, May 25, 2010 at 08:44:06PM +0900, U.Nakamura wrote:

(1) 0e$B%P%$%H$N%U%!%$%ke(B test.txt e$B$,:[email protected]$5$l$ke(B
(2) e$B%7%g!<%H%+%C%[email protected]:[email protected]$5$l$F$$$J$$e(B
(3) e$B!V%7%g!<%H%+%C%H$N:[email protected](B(&S)e$B!W$O=PNO$5$l$F$$$k!#e(B

e$B$"$j$,$H$&$4$6$$$^$9!#e(B

e$B$&!<$s!#$h$/$o$+$i$J$$$G$9e(B…e$B!#e(B
(3) e$B$,=PNO$5$l$F$$$k$H$$$&$3$H$O!"$A$c$s$H%(%/%9%W%m!<%i$Ne(B
e$B%3%s%F%-%9%H%a%K%e!<$K!V%7%g!<%H%+%C%H$N:[email protected](B(&S)e$B!W$O$"$k$_e(B
e$B$?$$$G$9$M!#e(B

InvokeVerbe$B$N<B9T7k2Le(B(HRESULTe$B$H$+e(B)e$B$r<h$kJ}K!$H$+$J$$$s$G$9$+$Me(B
e$B$(!#e(B

Ce$B%l%Y%k$G$O!"e(BInvokeVerbe$B$r<B9T$7$?$H$-$K!"e(BHRESULTe$B$r8+$F$^$9!#e(B
e$B$G!"e(BHRESULTe$B$,%(%i!<$J$i!"e(BWin32OLERuntimeError
e$B$K$J$k$O$:$J$s$Ge(B
e$B$9$h$M!#e(B
e$B5U$Ke(BHRESULTe$B$,e(B0e$B$J$N$K%a%=%C%I$,<B$O<:GT$7$F$$$k$H$$$&$N$Oe(B
Win32OLEe$B$G$O=&$($J$$$G$9e(B…e$B!#e(B

e$B;n$7$K:G8e$Ne(B1e$B9T$re(B
fi.InvokeVerb(“e$B%7%g!<%H%+%C%H$N:[email protected](B(&S)”)
e$B$H$7$?$i$I$&$J$j$^$9$+!)e(B

e$B:G8e$N9T$N$H$3$m$G!"%a%bD"$,5/F0e(B(e$B%3%s%F%-%9%H%a%K%e!<$N0lHVe(B
e$B>e$NF0:n!V3+$/!W$,<B9T$5$l$ke(B)e$B$7$^$9$+!)e(B

e$B=uEDe(B

e$BC.2H$G$9!#e(B

e$B$7$+$7!"$3$l$,5/$-$F$k$N$,<B$O$&[email protected][email protected][email protected]$J!#e(B
e$BC/$+B>$K:F8=$9$k?M$$$^$9$+e(B?
e$B;d$NB>[email protected]$H!"Nc$($Pe(BXP x64 + ruby mswin64e$BHG$G$O$3$NLdBj$Oe(B
e$BH/@8$7$F$$$^$;$s!#e(B

e$B;[email protected]$H<B$O$3$N%F%9%H!"e(Bgite$B$N%7%’%k3HD%$i$7$-e(Bdlle$B$KFMF~$7$F$=$N$J$+$G%m%C%/$7$F$7$^$$$^$9!#$I$&8+$F$b4D6-0MB8$J$N$HD4$Y$k$N$,Fq$7$=$&[email protected]$C$?$N$G$7$P$i$/%F%9%H$+$i30$7$F$^$7$?!#e(B

[email protected]$J$N$G5"$C$?$i:FEY>$7$/=q$-$^$9!#e(B

e$B$3$s$K$A$O!"$J$+$`$ie(B(e$B$&e(B)e$B$G$9!#e(B

In message “[ruby-dev:41413] Re: [Bug #3339] win32ole test failure”
on May.25,2010 21:50:28, [email protected] wrote:

e$B$&!<$s!#$h$/$o$+$i$J$$$G$9e(B…e$B!#e(B
(3) e$B$,=PNO$5$l$F$$$k$H$$$&$3$H$O!"$A$c$s$H%(%/%9%W%m!<%i$Ne(B
e$B%3%s%F%-%9%H%a%K%e!<$K!V%7%g!<%H%+%C%H$N:[email protected](B(&S)e$B!W$O$"$k$_e(B
e$B$?$$$G$9$M!#e(B

e$B$"$j$^$9$M!#e(B
e$B$A$g$C$H%I%-%I%-$7$J$,$i3NG’$7$^$7$?$,!"%(%/%9%W%m!<%i$N%3%se(B
e$B%F%-%9%H%a%K%e!<$+$i$J$i%7%g!<%H%+%C%H$b$A$c$s$H:[email protected]$5$l$^$9!#e(B

InvokeVerbe$B$N<B9T7k2Le(B(HRESULTe$B$H$+e(B)e$B$r<h$kJ}K!$H$+$J$$$s$G$9$+$Me(B
e$B$(!#e(B

Ce$B%l%Y%k$G$O!"e(BInvokeVerbe$B$r<B9T$7$?$H$-$K!"e(BHRESULTe$B$r8+$F$^$9!#e(B
e$B$G!"e(BHRESULTe$B$,%(%i!<$J$i!"e(BWin32OLERuntimeError e$B$K$J$k$O$:$J$s$Ge(B
e$B$9$h$M!#e(B
e$B5U$Ke(BHRESULTe$B$,e(B0e$B$J$N$K%a%=%C%I$,<B$O<:GT$7$F$$$k$H$$$&$N$Oe(B
Win32OLEe$B$G$O=&$($J$$$G$9e(B…e$B!#e(B

e$B$"$"!"$J$k$[$Ie(B…

e$B;n$7$K:G8e$Ne(B1e$B9T$re(B
fi.InvokeVerb(“e$B%7%g!<%H%+%C%H$N:[email protected](B(&S)”)
e$B$H$7$?$i$I$&$J$j$^$9$+!)e(B

e$B:G8e$N9T$N$H$3$m$G!"%a%bD"$,5/F0e(B(e$B%3%s%F%-%9%H%a%K%e!<$N0lHVe(B
e$B>e$NF0:n!V3+$/!W$,<B9T$5$l$ke(B)e$B$7$^$9$+!)e(B

e$B$A$c$s$H%a%bD"$,5/F0$7$d$,$j$^$7$?!#e(B
e$B$H$$$&$3$H$O!"%T%s%]%$%s%H$G!V%7%g!<%H%+%C%H$N:[email protected][email protected]$1$,<Be(B
e$B9T$G$-$J$$HkL)$,$"$k$s$G$9$+$M$(!#e(B

e$B$7$+$7!"$3$l$,5/$-$F$k$N$,<B$O$&[email protected][email protected][email protected]$J!#e(B
e$BC/$+B>$K:F8=$9$k?M$$$^$9$+e(B?
e$B;d$NB>[email protected]$H!"Nc$($Pe(BXP x64 + ruby
mswin64e$BHG$G$O$3$NLdBj$Oe(B
e$BH/@8$7$F$$$^$;$s!#e(B

e$B$=$l$G$O!#e(B

e$B;VB<$H?=$7$^$9e(B

In message “[ruby-dev:41416] Re: [Bug #3339] win32ole test failure”,
[email protected],
U.Nakamura wrote…

e$B;n$7$K:G8e$Ne(B1e$B9T$re(B
fi.InvokeVerb(“e$B%7%g!<%H%+%C%H$N:[email protected](B(&S)”)
e$B$H$7$?$i$I$&$J$j$^$9$+!)e(B

e$B:G8e$N9T$N$H$3$m$G!"%a%bD"$,5/F0e(B(e$B%3%s%F%-%9%H%a%K%e!<$N0lHVe(B

e$B>e$NF0:n!V3+$/!W$,<B9T$5$l$ke(B)e$B$7$^$9$+!)e(B

e$B$A$c$s$H%a%bD"$,5/F0$7$d$,$j$^$7$?!#e(B
e$B$H$$$&$3$H$O!"%T%s%]%$%s%H$G!V%7%g!<%H%+%C%H$N:[email protected][email protected]$1$,<Be(B
e$B9T$G$-$J$$HkL)$,$"$k$s$G$9$+$M$(!#e(B

e$B$7$+$7!"$3$l$,5/$-$F$k$N$,<B$O$&[email protected][email protected][email protected]$J!#e(B
e$BC/$+B>$K:F8=$9$k?M$$$^$9$+e(B?
e$B;d$NB>[email protected]$H!"Nc$($Pe(BXP x64 + ruby
mswin64e$BHG$G$O$3$NLdBj$Oe(B
e$BH/@8$7$F$$$^$;$s!#e(B

e$B<j85$Ne(B Windows7 Pro.(64bit)e$B!"e(B
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mswin32]
(1.9 e$B$J$s$Ge(B ActiveScriptRuby e$B$8$c$J$$$1$Ie(B
artone$B$5$s$N%Q%C%1!<%8e(B)
e$B$G:F8=$7$^$9!#e(B
e$B=uED$5$se(B [ruby-dev:41411] e$B$N%9%/%j%W%H<B9T$9$k$He(B

|(1) 0e$B%P%$%H$N%U%!%$%ke(B test.txt e$B$,:[email protected]$5$l$ke(B
|(2) e$B%7%g!<%H%+%C%[email protected]:[email protected]$5$l$F$$$J$$e(B
|(3) e$B!V%7%g!<%H%+%C%H$N:[email protected](B(&S)e$B!W$O=PNO$5$l$F$$$k!#e(B
e$B$3$&$J$j$^$9!#e(B
e$B>e5-$N:G8e$N9T=q$-49$($k$H%a%bD"$,5/F0$9$ke(B(test.txt
e$B$r3+$$$F$ke(B)
e$B$N$b$=$&$G$9!#e(B

---------------------------------------±--------±--------+e$B0J>ee(B
2010/5/26

e$B;VB<90G7e(B mailto: [email protected]

e$B=uED$G$9!#e(B

On Wed, May 26, 2010 at 12:27:29PM +0900, H. Shimura wrote:

e$B$7$+$7!"$3$l$,5/$-$F$k$N$,<B$O$&[email protected][email protected][email protected]$J!#e(B
e$BC/$+B>$K:F8=$9$k?M$$$^$9$+e(B?
e$B;d$NB>[email protected]$H!"Nc$($Pe(BXP x64 + ruby mswin64e$BHG$G$O$3$NLdBj$Oe(B
e$BH/@8$7$F$$$^$;$s!#e(B

e$B<j85$Ne(B Windows7 Pro.(64bit)e$B!"e(B
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mswin32]
(1.9 e$B$J$s$Ge(B ActiveScriptRuby e$B$8$c$J$$$1$Ie(B artone$B$5$s$N%Q%C%1!<%8e(B)
e$B$G:F8=$7$^$9!#e(B

Windows7 [email protected]$HBLL$J$s$G$7$g$&$+$M!#e(B

e$B6vA3!"$3$s$J$N$r8+$D$1$^$7$?!#e(B
http://logicalerror.seesaa.net/article/127271246.html

VBScript e$B$NNc$J$s$G$9$,!"%3!<%I$N2<$K$"[email protected]@$NCf$K!“e(B
Vista e$B$Ge(B InvokeVerb e$B$KF|K\8l$N0z?t$rEO$9$HF0$+$J$/$Fe(B
e$B1Q8l$Ne(B properties e$B$rEO$9$HF0$/e(B(XPe$B$G$OF|K\8l$G$be(B
e$BF0:n$9$ke(B)e$B$H=q$$$F$”$k$N$,5$$K$J$j$^$9!#e(B

e$B;n$7$K!"e(BWindows7e$B$N4D6-$G!"F|K\8l$r$d$a$Fe(B
arg = WIN32OLE_VARIANT.new(“Create Shortcut(&S)”)
fi.InvokeVerb(arg)
e$B$H$d$C$?$i$I$&$J$j$^$9$+!)e(B

e$B:#[email protected]$Ke(BVistae$B$be(BWindows7e$B$b?($C$?$3$H$,$J$/$Fe([email protected](B
e$B=uEDe(B

[email protected]$H?=$7$^$9!#e(B

(1) e$B%+%l%s%H%G%#%l%/%H%j$Ke(B test.txt e$B$,$G$-$F$$$k!#e(B
(2) test.txt e$B$X$N%7%g!<%H%+%C%H$,e(B2e$B$D$G$-$F$$$k!#e(B
(3) e$B!V%7%g!<%H%+%C%H$N:[email protected](B(&S)e$B!W$H=PNO$5$l$k!#e(B

e$B$9$Y$Fe(BOKe$B$G$7$?$,!$2<$N$h$&$KMn$A$^$7$?!#e(B
Rubye$B$O<j85$G%3%s%Q%$%k$7$?$b$N$G$9!#e(B
e$B:G8e$N9T$r=q$-49$($k$He(BVime$B$,N)$A>e$,$j$^$7$?e(B^^;

<ruby191,p3.1.8>c:\home % ruby z.rb
e$B%7%g!<%H%+%C%H$N:[email protected](B(&S)

: [BUG] Segmentation fault ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mswin32_71]

– control frame ----------
c:0001 p:0000 s:0002 b:0002 l:001aec d:001aec TOP

– Ruby level backtrace
information-----------------------------------------

[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application’s support team for more information.

e$B=uED$G$9!#e(B
e$B$9$$$^$;$s!#e(B

On Wed, May 26, 2010 at 09:34:58PM +0900, Masaki S. wrote:

e$B;n$7$K!"e(BWindows7e$B$N4D6-$G!"F|K\8l$r$d$a$Fe(B
arg = WIN32OLE_VARIANT.new(“Create Shortcut(&S)”)
fi.InvokeVerb(arg)
e$B$H$d$C$?$i$I$&$J$j$^$9$+!)e(B

e$B>e$N$KDI2C$G!“e(B
fi.InvokeVerb((“Create Shortcut(&S)”)
e$B$H$$$&$N$b!”;[email protected]$1$^$9$+!)e(B

e$B=uEDe(B

e$B$3$s$K$A$O!"$J$+$`$ie(B(e$B$&e(B)e$B$G$9!#e(B

In message “[ruby-dev:41426] Re: [Bug #3339] win32ole test failure”
on May.26,2010 21:46:25, [email protected] wrote:

e$B;n$7$K!"e(BWindows7e$B$N4D6-$G!"F|K\8l$r$d$a$Fe(B
arg = WIN32OLE_VARIANT.new(“Create Shortcut(&S)”)
fi.InvokeVerb(arg)
e$B$H$d$C$?$i$I$&$J$j$^$9$+!)e(B

e$B2?$b5/$-$J$$$^$^$G$9$M$(!#e(B

e$B>e$N$KDI2C$G!“e(B
fi.InvokeVerb((“Create Shortcut(&S)”)
e$B$H$$$&$N$b!”;[email protected]$1$^$9$+!)e(B

e$B%a%bD"$,L5;v$KN)$A>e$,$j$^$9!#e(B

e$B$I$&$G$b$$$$$G$9$,!"!Ve(B&e$B!W$NA0$N!Ve(B\e$B!W$K$O$J$s$+?<$$0UL#$,$"$je(B
e$B$^$9$+e(B?
e$B0l1~!"!Ve(B\e$B!W$J$7!"!Ve(B\e$B!W$"$j!"!Ve(B\e$B!W$H;n$7$^$7$?$,0c$$$OFC$K$Je(B
e$B$5$=$&$G$9!#e(B

e$B$"$H!"$3$N>[email protected]$7$$;XDj$Oe(B “Create &Shortcut” e$B$N$h$&$J5$$b$7e(B
e$B$?$N$G$=$A$i$b;n$7$^$7$?$,!">u67$KJQ2=$O$"$j$^$;$s$G$7$?!#e(B

e$B$H$+$d$C$F$k$H%-%j$,$J$5$=$&$J$N$G!"G0$N$?$ae(BWSHe$B$r;H$C$FF1Ey$Ne(B
e$B=hM}$r<B9T$7$F$_$^$7$?$,!“F1MM$KF|K\[email protected]$m$&$,[email protected]$m$&$,%(e(B
e$B%i!<$J$7$G%7%g!<%H%+%C%H$b:[email protected]$5$l$^$;$s$G$7$?!#e(B
[email protected]$+$o$+$s$J$$$1$I2?$+LdBj$,$”$k$s$G$7$g$&$M$(!#e(B
e$B$I$&$7$^$7$g!#e(B

e$B$=$l$G$O!#e(B

e$B=uED$G$9!#e(B

On Wed, May 26, 2010 at 11:09:54PM +0900, U.Nakamura wrote:

e$B$I$&$G$b$$$$$G$9$,!"!Ve(B&e$B!W$NA0$N!Ve(B\e$B!W$K$O$J$s$+?<$$0UL#$,$"$je(B
e$B$^$9$+e(B?

[email protected]$o$l$F$_$l$P!“FC$K0UL#$O$”$j$^$;$s$G$7$?!#e(B

e$B$H$+$d$C$F$k$H%-%j$,$J$5$=$&$J$N$G!"G0$N$?$ae(BWSHe$B$r;H$C$FF1Ey$Ne(B
e$B=hM}$r<B9T$7$F$_$^$7$?$,!“F1MM$KF|K\[email protected]$m$&$,[email protected]$m$&$,%(e(B
e$B%i!<$J$7$G%7%g!<%H%+%C%H$b:[email protected]$5$l$^$;$s$G$7$?!#e(B
[email protected]$+$o$+$s$J$$$1$I2?$+LdBj$,$”$k$s$G$7$g$&$M$(!#e(B
e$B$I$&$7$^$7$g!#e(B

e$B$$$m$$$m$9$$$^$;$s!#e(B
e$B$*<j?t$G$9$,!"e(BInvokeVerb e$B$NBe$o$j$K!"e(BInvokeVerbEx e$B$re(B
e$B;H$&$H$I$&$J$j$^$9$+!)e(B

e$B85!9K\Ev$K$d$j$?$$%F%9%H$O!"e(B
e$BCMEO$7$7$+<u$1IU$1$J$$e(BCOMe$B$N%a%=%C%I$N>l9g$Ke(B
WIN32OLE_VARIANT e$B$r;H$($P!"CMEO$7$G8F$S=P$9$3$H$,$G$-$k$+!)e(B
e$B$H$$$&$3$H$J$N$G!“e(BInvokeVerb e$B$K94$j$O$”$j$^$;$s!#e(B

InvokeVerbe$B$,F0$+$J$$$N$O!"$=$l$O$=$l$GLdBj$+$bCN$l$^$;$s$,e(B
WSHe$B$G$bF0$+$J$$$N$J$i!"$A$g$C$H<j$,=P$;$=$&$K$J$$$7e(B…e$B!#e(B

e$B=uEDe(B

e$B$3$s$K$A$O!"$J$+$`$ie(B(e$B$&e(B)e$B$G$9!#e(B

In message “[ruby-dev:41428] Re: [Bug #3339] win32ole test failure”
on May.27,2010 00:08:03, [email protected] wrote:

e$B$$$m$$$m$9$$$^$;$s!#e(B
e$B$*<j?t$G$9$,!"e(BInvokeVerb e$B$NBe$o$j$K!"e(BInvokeVerbEx e$B$re(B
e$B;H$&$H$I$&$J$j$^$9$+!)e(B

e$B8=>]$KJQ2=$J$7!"$G$9!#e(B

e$B$=$&$$$([email protected]$$K:$l$F$$$^$7$?$,!“e(Bverbe$B$Ne(BDoIte$B$rD>@\8F$Y$PL5;v$Ke(B
e$B%7%g!<%H%+%C%H$O:[email protected]$5$l$^$9!#e(B
InvokeVerbe$B$He(BVistae$B$G$0$0$k$H!”$J$s$+F0$+$s$+$ie(BDoIte$B8F$V$h$&$KJQe(B
e$B$($?$iF0$$$?!"$H$$$&;vNc$O4v$D$+;68+$5$l$^$9$M!#e(B
e$B$G$b860x$^$GJs9p$7$F$k?M$O$$$J$5$=$&$G$9!#e(B

e$B85!9K\Ev$K$d$j$?$$%F%9%H$O!"e(B
e$BCMEO$7$7$+<u$1IU$1$J$$e(BCOMe$B$N%a%=%C%I$N>l9g$Ke(B
WIN32OLE_VARIANT e$B$r;H$($P!"CMEO$7$G8F$S=P$9$3$H$,$G$-$k$+!)e(B
e$B$H$$$&$3$H$J$N$G!“e(BInvokeVerb e$B$K94$j$O$”$j$^$;$s!#e(B

InvokeVerbe$B$,F0$+$J$$$N$O!"$=$l$O$=$l$GLdBj$+$bCN$l$^$;$s$,e(B
WSHe$B$G$bF0$+$J$$$N$J$i!"$A$g$C$H<j$,=P$;$=$&$K$J$$$7e(B…e$B!#e(B

e$B$&!<$s!#e(B
e$B$;$a$F860x$,$o$+$l$P$9$C$-$j$9$k$s$G$9$,e(B…

e$B$=$&$$$($P!"@dBP$Ke(Bverbe$B$H$7$FB8:_$7$J$$J8;zNs$re(BWIN32OLE_VARIANT
e$B2=$7$Fe(BInvokeVerbe$B$KEO$7$F$b$d$O$j%N!<%(%i!<$G2?$b5/$-$J$$$^$^e(B
e$B$K$J$j$^$9!#e(B
e$B$N$G!"$b$7$3$A$iB&$KLdBj$,$"$k$H$7$?$i!“4V0c$C$?$b$N$rEO$7$Fe(B
[email protected]$O$”$j$^$9$M!#e(B

WSHe$B$N7k2L$r8+$k8B$j!"$?$V$s0c$&$H;W$$$^$9$,e(B

e$B$=$l$G$O!#e(B

e$B=uED$G$9!#e(B

On Thu, May 27, 2010 at 09:44:49AM +0900, U.Nakamura wrote:

e$B8=>]$KJQ2=$J$7!"$G$9!#e(B

e$B$=$&$G$9$+!#;DG0!#e(B

e$B$=$&$$$([email protected]$$K:$l$F$$$^$7$?$,!"e(Bverbe$B$Ne(BDoIte$B$rD>@\8F$Y$PL5;v$Ke(B
e$B%7%g!<%H%+%C%H$O:[email protected]$5$l$^$9!#e(B

e$B$J$k$[$I!"e(BRuby
e$B7PM3e(B(Win32OLE)[email protected]$+$i%7%g!<%H%+%C%H$,:n$l$J$$e(B
e$B$H$$$&$3$H$G$O$J$$$N$G$9$M!#e(B

InvokeVerbe$B$He(BVistae$B$G$0$0$k$H!"$J$s$+F0$+$s$+$ie(BDoIte$B8F$V$h$&$KJQe(B
e$B$($?$iF0$$$?!"$H$$$&;vNc$O4v$D$+;68+$5$l$^$9$M!#e(B

e$B$=$&$J$s$G$9$h!#e(B

e$B$N$G!"$b$7$3$A$iB&$KLdBj$,$"$k$H$7$?$i!“4V0c$C$?$b$N$rEO$7$Fe(B
[email protected]$O$”$j$^$9$M!#e(B

WSHe$B$N7k2L$r8+$k8B$j!"$?$V$s0c$&$H;W$$$^$9$,e(B

e$B$=$&$G$9$M!#e(B
[email protected]!"e(BWIN32OLE_VARIANT
e$B$r;H$($P!"Bhe(B2e$B0z?t$G7?;XDj$9$k$3$H$Ge(B
e$BE,@Z$JEO$7J}$,$G$-$k$h$&$K$J$k$N$+$bCN$l$J$$$G$9!#e(B
e$B$=$N$?$a$Ne(B WIN32OLE_VARIANT e$B$J$N$G$9!#e(B

WIN32OLE_VARIANT e$B$r;H$&$3$H$G8F$S=P$7$,$G$-$ke(B
Windowse$BI8=`$GDs6!$5$l$ke(BCOMe$B$N%a%=%C%I$,B>$K$"$l$Pe(B
e$B$=$C$A$KJQ99$9$k$s$G$9$1$I!“e(BInvokeVerb(Ex) e$B0J30$Ke(B
e$B$=$&$$$&%a%=%C%I$rCN$i$J$$$N$G$9!#e(B
(e$B;H$C$F$b;H$o$J$/$F$b8F$S=P$;$k%a%=%C%I$O7k9=$”$k$O$:$G$9!#e(B)

e$B=uEDe(B

e$B%A%1%C%He(B #3339 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.)

e$B1sF#$G$9!#e(B

e$B$3$N7o!":#$O$b$&<j$N=P$7J}$r;W$$$D$+$J$$$H$$$&$3$H$G$$$$$G$9$+!#e(B

e$B<j$,=P$;$J$$$b$N$O$7$g$&$,$J$$$N$G!"?7$?$J<j$,$+$j$,=P$F$/$k$^$Ge(B
e$BM%@hEY$re(B Low e$B$K$9$k$H$$$&$3$H$G$I$&$G$7$g$&!#e(B
e$BH?BP$,$J$1$l$P>!<j$K$d$C$F$7$^$$$^$9!#e(B


Yusuke E. [email protected]

http://redmine.ruby-lang.org/issues/show/3339

e$B=uED$G$9!#e(B

On Fri, Jun 18, 2010 at 02:52:51AM +0900, Yusuke E. wrote:

e$B$3$N7o!":#$O$b$&<j$N=P$7J}$r;W$$$D$+$J$$$H$$$&$3$H$G$$$$$G$9$+!#e(B

e$B$O$$!#e(B

e$B<j$,=P$;$J$$$b$N$O$7$g$&$,$J$$$N$G!"?7$?$J<j$,$+$j$,=P$F$/$k$^$Ge(B
e$BM%@hEY$re(B Low e$B$K$9$k$H$$$&$3$H$G$I$&$G$7$g$&!#e(B
e$BH?BP$,$J$1$l$P>!<j$K$d$C$F$7$^$$$^$9!#e(B

e$B$9$$$^$;$s!#$*4j$$$7$^$9!#e(B

e$B=uEDe(B

e$BC.2H$G$9!#e(B

e$B$7$+$7!"$3$l$,5/$-$F$k$N$,<B$O$&[email protected][email protected][email protected]$J!#e(B
e$BC/$+B>$K:F8=$9$k?M$$$^$9$+e(B?
e$B;d$NB>[email protected]$H!"Nc$($Pe(BXP x64 + ruby mswin64e$BHG$G$O$3$NLdBj$Oe(B
e$BH/@8$7$F$$$^$;$s!#e(B

e$B;[email protected]$H<B$O$3$N%F%9%H!"e(Bgite$B$N%7%’%k3HD%$i$7$-e(Bdlle$B$KFMF~$7$F$=$N$J$+$G%m%C%/$7$F$7$^$$$^$9!#$I$&8+$F$b4D6-0MB8$J$N$HD4$Y$k$N$,Fq$7$=$&[email protected]$C$?$N$G$7$P$i$/%F%9%H$+$i30$7$F$^$7$?!#e(B

[email protected]$J$N$G5"$C$?$i:FEY>$7$/=q$-$^$9!#e(B

e$B$3$l$K$D$$$F!“BgJ,8E$$OC$K$J$C$F$7$^$$$^$7$?$,!“e(B
e$B$”$l$+$i2?EY$+DI;n$r$7$F$?$s$G$9$,!”:F8=$7$J$/$J$C$F$7$^$C$?$?$aK:$l$F$/[email protected]$5$$!#e(B
e$B$9$$$^$;$s!#e(B

e$B%A%1%C%He(B #3339 e$B$,99?7$5$l$^$7$?!#e(B (by Akio T.)

artone$B$G$9!#e(B

e$B0J2<$NJ}K!$G%F%9%H2DG=$G$9!#e(B
e$B>e$G=P$F$$$^$9$,!“1Q8le(BVerbe$B$J$iMxMQ2DG=$G!”$+$D%7%g!<%H%+%C%H:[email protected]$N1Q8le(BVerbe$B$Oe(BLinke$B$G$9!#e(B

*** test_folderitem2_invokeverb.rb~ Tue Jul 27 00:00:56 2010
— test_folderitem2_invokeverb.rb Sun Oct 03 19:11:17 2010
*************** if defined?(WIN32OLE)
*** 62,68 ****
— 62,73 ----
def test_invokeverb
# this test should run only when “Create Shortcut (&S)”
# is found in context menu,
+

  •   # in Windows Vista (not tested), Windows 7
    
  •   # The verb must take English verb.
    
  •   # Creating Shortcut is "Link"
      if @shortcut
    
  •     @shortcut = "Link"
        links = find_link(@dummy_path)
        assert_equal(0, links.size)
    

http://redmine.ruby-lang.org/issues/show/3339

e$B%A%1%C%He(B #3339 e$B$,99?7$5$l$^$7$?!#e(B (by Akio T.)

e$B%9%F!<%?%9e(B Assignede$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

This issue was solved with changeset r29399.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


http://redmine.ruby-lang.org/issues/show/3339

e$B=uED$G$9!#e(B

On Sun, Oct 03, 2010 at 07:12:20PM +0900, Akio T. wrote:

e$B>e$G=P$F$$$^$9$,!“1Q8le(BVerbe$B$J$iMxMQ2DG=$G!”$+$D%7%g!<%H%+%C%H:[email protected]$N1Q8le(BVerbe$B$Oe(BLinke$B$G$9!#e(B

e$B$"$j$,$H$&$4$6$$$^$9!#e(B
Windows XP e$B$G$be(B Link e$B$Ge(BOKe$B$G$7$?!#e(B
e$B%3%_%C%[email protected]$1$^$9$+!)e(B

e$B=uEDe(B e$B2m5*e(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs