BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What does this mean?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Ed Adelman
Guest





PostPosted: Tue Dec 23, 2003 6:27 pm    Post subject: What does this mean? Reply with 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?


Back to top
James Mauldin
Guest





PostPosted: Wed Dec 24, 2003 7:39 pm    Post subject: Re: What does this mean? Reply with quote



"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.