"win32/registry" と "dl/win32" の相性について


#1

e$B$?$1e(B(tk)e$B$G$9e(B

[ruby-list:41908] Re: win32/registry e$B$He(B dl/win32
e$B$NAj@-$K$D$$$F!!$G!"e(B

(1)Win32API.so e$B$HF1$8%G%#%l%/%H%j$Ke(B Win32API.rb e$B$r<!$N$h$&$K:n@.$9$k!#e(B

C:/Program Files/Apollo/lib/ruby/1.8/i386-mswin32/Win32API.rb

Win32API.rb

require Win32API.so unless defined?(Win32API)

(2)dl/win32.rb e$B$r!Ve(Bunless defined?(Win32API) e$B!W$G0O$`!#e(B
e$B!&!&e(B
e$B$G!"e(B [ruby-list:41886] e$B$be(B [ruby-list:41894] e$B$b%(%i!<$,=P$J$/$J$j$^$7$?!#e(B

e$B$H$$$&Js9p$r$7$?$N$G$9$,!"G[I[HG$N%i%$%V%i%j$rJQ99$7$F$b$i$($k2DG=@-$O$"e(B
e$B$j$^$9$+!)e(B

Take_tk = KUMAGAI Hidetake
e$B$?$1e(B(tk)e$B!a7C+=(Ipe(B


#2

e$B$o$?$J$Y$G$9!#e(B

take_tk removed_email_address@domain.invalid writes:

e$B$G!"e(B [ruby-list:41886] e$B$be(B [ruby-list:41894] e$B$b%(%i!<$,=P$J$/$J$j$^$7$?!#e(B

e$B$H$$$&Js9p$r$7$?$N$G$9$,!"G[I[HG$N%i%$%V%i%j$rJQ99$7$F$b$i$($k2DG=@-$O$"e(B
e$B$j$^$9$+!)e(B

e$B$b$H$b$He(Bdl/win32.rbe$B$Oe(BWin32API.soe$B$r>C$7$?8e$GEvLL:$$i$J$$$h$&$K$9e(B
e$B$k$?$a$K:n$i$l$?$b$N$G$"$j!N>J}$rJ;MQ$9$k$3$H$O9M$($F$^$;$s$G$7$?!#e(B
e$B$=$&$$$&L\E*$J$N$G$$^$j;H$&$3$H$b?d>)$5$l$^$;$s!#e(B
e$BK\Mh$Ne(BRuby/DLe$B$N5!G=$N$[$&$r;H$C$F$/$@$5$$!#e(B

e$B$J$s$+?-$S?-$S$K$J$C$F$7$^$$$^$7$?$,!"Ev=i$N7W2hDL$je(BWin32API.so
e$B$N$[$&$r>C$7$F!"e(BWin32API.rbe$B$rMQ0U$7$^$9e(B(require
'dl/win32e$B$@$1e(B)e$B!#e(B


#3

e$B$?$1e(B(tk)e$B$G$9e(B

[ruby-dev:28436] Re: win32/registry e$B$He(B dl/win32
e$B$NAj@-$K$D$$$Fe(B e$B$K$Fe(B
WATANABE Hirofumi removed_email_address@domain.invalid e$B$5$s[)$/e(B:

e$B$J$s$+?-$S?-$S$K$J$C$F$7$^$$$^$7$?$,!"Ev=i$N7W2hDL$je(BWin32API.so
e$B$N$[$&$r>C$7$F!"e(BWin32API.rbe$B$rMQ0U$7$^$9e(B(require 'dl/win32e$B$@$1e(B)e$B!#e(B

e$B$3$l$GNI$$$G$9!#!J$3$l$N$[$&$,$9$C$-$j$7$F$$$k!K!#e(B

Take_tk = KUMAGAI Hidetake
e$B$?$1e(B(tk)e$B!a7C+=(Ipe(B