From: Daniel Berger Date: 2005-06-11T13:25:29+09:00 Subject: Win32API and frozen objects? Hi, Ruby 1.8.2 Windows XP Why does this cause an error? require "Win32API" PathIsURL = Win32API.new("shlwapi","PathIsURL","P","L") path = "file:///foo/bar" path.freeze if PathIsURL.call(path) > 0 puts "yes" else puts "no" end puts path As far as I can tell, path isn't being modified. What's happening? Regards, Dan