"can't convert String into Integer" trying to execute Win32API.new in the
below code from ie-new-process.rb:
module Watir
def self.process_id_from_hwnd hwnd
pid_info = ' ' * 32
Win32API.new("user32", "GetWindowThreadProcessId", 'ip', 'i').
call(hwnd, pid_info)
process_id = pid_info.unpack("L")[0]
end
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=6573&messageID=19870#19870
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general