if FileTest.exist?("Resolution.set")
  resolution=load_data("Resolution.set").to_i
  $height=resolution%10000
  $width=resolution/10000
else
  fff=Win32API.new("Resolution-DLL.dll","resolution",nil,"i") 
  resolution=fff.call()
  fff=0
  $height=resolution%10000
  $width=resolution/10000
  save_data($height+$width*10000,"Resolution.set")
end