Haris Bogdanovi wrote: > dc.draw_bitmap(Bitmap.new('c:\img.bmp'),0,0) # and for this > program crashes You may want to use a forward slash / instead of the backslash, even on Windows. An alternative is to escape the backslash by duplicating it: "C:/img.bmp" or "C:\\img.bmp" Marvin -- Posted via http://www.ruby-forum.com/.