 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ed Adelman Guest
|
Posted: Tue Dec 23, 2003 6:27 pm Post subject: What does this mean? |
|
|
I keep getting an error message in my application "the application tried to
execute a process that was marshalled for a different thread." I know this
is pretty non-descript so here's a little backup. I'm writing an
application that starts a terminal emulator and does some screen-scraping
within a thread. I'm writing it in its own thread so I can have the user
doing other things with the application while the screen scraping is taking
place. I also however, want the thread to update a list box with the
responses from the mainframe while it is processing so if the user wants to
watch, they can. Trying to update the screen is where I get error message.
Any suggestions?
|
|
| Back to top |
|
 |
James Mauldin Guest
|
Posted: Wed Dec 24, 2003 7:39 pm Post subject: Re: What does this mean? |
|
|
"Ed Adelman" <EAdelman (AT) up (DOT) com> wrote
| Quote: | I keep getting an error message in my application "the application tried
to
execute a process that was marshalled for a different thread." I know
this
is pretty non-descript so here's a little backup. I'm writing an
application that starts a terminal emulator and does some screen-scraping
within a thread. I'm writing it in its own thread so I can have the user
doing other things with the application while the screen scraping is
taking
place. I also however, want the thread to update a list box with the
responses from the mainframe while it is processing so if the user wants
to
watch, they can. Trying to update the screen is where I get error
message.
Any suggestions?
|
See TThread.Synchronize
-- James
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|