in reply to Sharing Win32::GUI::RichEdit...

I tend to shy away from threads and Win32 if at all possible but I seem to recall that it is a known limitation of the current threading implementation that you can not share blessed references. Perhaps that's the reason for your error.

Why do you need threading anyway? Have you looked at POE?

Replies are listed 'Best First'.
Re^2: Sharing Win32::GUI::RichEdit...
by ikegami (Patriarch) on Jul 06, 2005 at 04:45 UTC
      Not that I've heard of, but if the POE main event loop can call Win32::GUI::DoEvents frequently that would work.

      Not that it wouldn't block the GUI whenever something else does something time consuming, so I don't know how useful it would be as a general solution.

      /J