[plt-scheme] Copying text to MrEd's the-clipboard crashes DrScheme

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Mar 24 11:03:34 EDT 2008

At Sun, 23 Mar 2008 18:31:11 -0400, "Ben Simon" wrote:
> Consider the following MrEd code:
> 
>  (new button%
>     (parent controls) (label "Copy To Clipboard")
>     (callback (lambda (button evt)
>                 (send the-clipboard set-clipboard-string "Hello World" 0))))
> 
> When I invoke this code as a stand alone .exe, it works as expected - Hello
> World shows up on the system clipboared.
> 
> When I invoke this code inside DrScheme, it causes DrScheme to immediately
> crash (as in drscheme.exe dies).
> 
> I'm running under Windows Vista - v372.

I haven't been able to reproduce the problem using v372 on Vista. Can
you send a complete program?

Thanks,
Matthew



Posted on the users mailing list.