[Mono-list] Remoting a GTK UI
rbrown at plls.com
Tue May 31 14:23:24 EDT 2005
It sounds like a threading issue... Does the app just hang or do you
get varied results each time you run it? If it is a threading issue,
you may need to setup a delegate [in the app that has the UI] and invoke
the delegate when you make the call to the UI app... I am new to
delegates and have only used them a few times when trying to return data
to a UI when calling an Asynchronous Webservice ...
Is it a small sample app with the remoting piece and the UI piece, if so
you can zip it up e-mail it to me and I can take a look at it and see if
I can get it to run on my machine.
From: George Farris [mailto:farrisg at mala.bc.ca]
Sent: Tuesday, May 31, 2005 2:04 PM
To: Brown, Robert
Cc: mono-list at lists.ximian.com
Subject: RE: [Mono-list] Remoting a GTK UI
On Tue, 2005-05-31 at 13:35 -0400, Brown, Robert wrote:
> Are you just trying to retrieve a value from a textBox on a remote
> machine? Will the textBox always be available and if not what do you
> expect to be returned to you?
What I'm actually trying to accomplish is:
- computer A (command line app) sends a request for a text field to B -B
pops up a dialog box accepts a line of text and sends it when "OK" is
pressed or sends "" if "Cancel" is pressed.
- the dialog disappears and until next request.
I had some code that seems to work under Linux but it dies under Windows
and someone said it might be the threading.
George Farris farrisg at mala.bc.ca
More information about the Mono-list