# File lib/win32/mc.rb, line 45 def create_res_file rc_file = File.basename(@mc_file, '.mc') + '.rc' unless File.exists?(rc_file) raise MC::Error, "No .rc file found: #{@rc_file}" end system("rc -r -fo #{@res_file} #{rc_file}") end