in reply to Re^2: How to pass the value of a variable from a child to parent with gui interface?
in thread How to pass the value of a variable from a child to parent with gui interface?

The problem is, this Win32::GUI::Dialog(); is a loop. It doesn't return until you do something on the dialog. If you click the close button on the dialog a few times, you'll see that the child is indeed running its loop.

But until you understand how Win32::GUI works, trying to write multi-threaded apps using it is going to be a frustrating exercise.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"
  • Comment on Re^3: How to pass the value of a variable from a child to parent with gui interface?
  • Download Code

Replies are listed 'Best First'.
Re^4: How to pass the value of a variable from a child to parent with gui interface?
by ZJ.Mike.2009 (Scribe) on Mar 13, 2010 at 04:46 UTC
    BrowserUk, wow, you're right, yes, yes, $text changes when the close button is clicked a couple of times :)