Threads and Web Services

  • Thread starter Thread starter Isaias Formacio Serna
  • Start date Start date
I

Isaias Formacio Serna

Hi!
I have an Compact Framework application that has a thread drawing squares on
the screen while it call's a web service, some sort of a status bar, my
problem is that when the web service gets the call using other thread the
first drawing thread freezes until the web service returns a value... How
can I keep my first thread running (painting the screen) while I do the web
service call???

I'll apreciate your help,

Isaias
 
Try making an async call to the webservice. That way your
UI is free to do what ever it needs to.

HTH
Mark Arteaga
 
Thanks a lot, I was exactly trying what you said and it worked.

Isaias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top