Michael Kernaghan wrote: > > I have no trouble on Vista with Ruby and Watir 1.4.1. However, in my > efforts to do UI with modal Dialog I need to use recent Watir Gem. I > installed Ruby and then the latest Gem according to the instructions. > > I get these errors: > > c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console.rb:76:in > `initialize': GetProcAddress: SetConsoleCommandHistoryMode or > SetConsoleCommandHistoryModeA (RuntimeError) > > from > c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console.rb:76:in > `new' > > from > c:/ruby/lib/ruby/gems/1.8/gems/windows-pr-0.6.2/lib/windows/console.rb:76 > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > > from > c:/ruby/lib/ruby/gems/1.8/gems/win32-process-0.5.1/lib/win32/process.rb:6 > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > > from > c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir/ie-process.rb:1 > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require' > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require' > > from c:/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1192/./watir.rb:47 > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in > `gem_original_require' > > from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in > `require' > > This is interesting: > http://rubyforge.org/frs/shownotes.php?release_id=11482 > > *Notes: * > > > Release Name: 0.6.6 <http://rubyforge.org/frs/?group_id=85> > > *Notes:* > * Added the Windows::MSVCRT::IO module > * Removed a method from the Windows::Console module > > > > > > *Changes:* > * Added the Windows::MSVCRT::IO module. > * Removed the SetConsoleCommandHistoryMode method from the Windows::Console > module. This was a preliminary function for Vista only, and it has since > been removed. Thanks go to Drew Colthorp for the spot. > > Can anyone explain this? Thanks. > > Is it as simple as not having turned off some annoying Vista security > poo? I thought I had got them all … > > Your error is with windows-pr 0.6.2 and the documentation is from 0.6.6. In any case the problem is with the gem. I have both versions installed on my vista laptop. Can you track down the problem to a specific version of this gem?
Bret _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general