Michael Eddington wrote: > > I've been reading the archives of this list and seen a couple posts about > random crashes using DoEvents handler through a loop. > > Things look a tad different in this case. I have several apps that use > DoEvents w/o any problems. On this app it will run all day fine until I use > clipboard functions (cut & past) from a RichEdit control. Then in about > 5-10 min I'll get an Access Violation 0x0000044 or the like.
Me too but the crash happens immediatly... my workaround is to avoid ctrl+c ... with a Class for the Richedit and key bid. sub Text_KeyPress { my($key) = @_; if ($key == 1) { #do something } elsif ($key == 3) { #ctrl+c #do something } return 1; } My workaround works only with 0.0502 but not with newest versions. -- $_=q,6;-16;-1;-8;0;7;-13;-12;-9;-3;13#4A75737420616E6F74686572,,($_,$b)= split?#?;@b=split?;?;map{$c.=$_,$d.=chr$b[$e++]+ord}split??,pack'H24',$b ;chop$d,print$c.chr(32).$d