Howcome Invoke blocks until ShowDialog returns

G

Guest

I have a worker thread calling Invoke on the mainform of the application while the main thread is executing a ShowDialog. Invoke is blocked until ShowDialog returns

Howcome Invoke blocks when it is concurrent to a ShowDialog

How can you do multithread GUI apps on .NET CF if that does not work?
 
A

Alex Feinman [MVP]

This was supposedly fixed in SP2

cyril said:
I have a worker thread calling Invoke on the mainform of the application
while the main thread is executing a ShowDialog. Invoke is blocked until
ShowDialog returns.
 
K

Katie Schaeffer [MSFT]

This was actually fixed in SP1.

-Katie

This posting is provided "AS IS" with no warranties, and confers no rights.

***.Net Compact Framework Info***
Faq:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.a
spx
QuickStarts: http://samples.gotdotnet.com/quickstart/CompactFramework/
Samples:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/CompactfxTechArt.asp

--------------------
| Thread-Topic: Howcome Invoke blocks until ShowDialog returns
| thread-index: AcQCBWQFN7Fs7SD3SzmAvXetb6B8qQ==
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
| From: "=?Utf-8?B?Y3lyaWw=?=" <[email protected]>
| Subject: Howcome Invoke blocks until ShowDialog returns
| Date: Thu, 4 Mar 2004 08:26:05 -0800
| Lines: 5
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:47659
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| I have a worker thread calling Invoke on the mainform of the application
while the main thread is executing a ShowDialog. Invoke is blocked until
ShowDialog returns.

Howcome Invoke blocks when it is concurrent to a ShowDialog?

How can you do multithread GUI apps on .NET CF if that does not work?
|
 

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

Top