From: Piske, H. <Har...@bo...> - 2001-10-09 16:04:32
|
> my $ss = pack("CCCCCCCCCCCC",5,0,0,0, 0,0,0,0, 0,0,0,0); > GUI::SendMessage($window, $EM_GETLINE, 0, $ss); # <<<< this does not My guess is that you pass the SendMessage function a copy of $ss, or the contents of $ss, to be precise, so that whatever gets put in there will not make it back to $ss. But if you pass \$ss instead, I would not bet on the SendMessage function to know what to make of it. If it adheres to DWIM, you're lucky. |