I typed "#lang slideshow" into DrRacket and got the following error:
CreateIconIndirect: call failed (87)
Interactions disabled: slideshow does not support a REPL (no #%top-interaction)
They have two computers - slideshow works on a newer pc(win 10) but fails on one that has been upgraded from windows 7 to 10. I can’t determine any other difference.
Any ideas how I can help this user ?
#lang racket/gui
(require racket/draw)
(define f (new frame% [label "hello"] [width 100] [height 100]))
(define bmp
(let* ([bm (make-object bitmap% 32 32)]
[dc (make-object bitmap-dc% bm)])
(send dc set-brush "red" 'solid)
(send dc draw-rectangle 0 0 (send bm get-width) (send bm get-height))
(send dc set-bitmap #f)
bm))
(send f set-icon bmp #f 'both)
(send f show #t)
> email to racket...@googlegroups.com.