Hi Rafael,
There is a bug in our database that was resolved fixed for SP1. There is
not currently a KB article posted for this, since it was fixed in a service
pak. The problem involves using Control.Invoke with .ShowDialog. When a
dialog is showing, calling Control.Invoke from another thread will not
return until the dialog is closed.
There are a couple of workarounds -
1. Install SP1
2. Use .Show instead of .ShowDialog and set up your own modal loop if
needed (disabling the other form and using Application.DoEvents).
Let me know if you need any other information.
-Katie
--------------------
| From: "Rafael Pivato" <
[email protected]>
| References: <
[email protected]>
<
[email protected]>
| Subject: Re: Control.Invoke lazy invocation
| Date: Tue, 28 Oct 2003 09:02:20 -0200
| Lines: 52
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| Message-ID: <
[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: iserv.cpovo.net 200.248.147.15
| Path:
cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.
phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:37020
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| You talk about this bug with "so sure"...
| Do you know any KB document that explicity talks about this ?
|
| --------
| Rafael Pivato
|
|
| "Katie Schaeffer [MSFT]" <
[email protected]> escreveu na
mensagem
| | > Hi Rafael,
| >
| > Sorry about this - there's a known bug with using Control.Invoke while a
| > modal dialog is displayed (thru .ShowDialog). Could you try this on
your
| > device with SP1 installed - it should be fixed.
| >
| > Thanks,
| > -Katie
| >
| > --------------------
| > | From: "Rafael Pivato" <
[email protected]>
| > | Subject: Control.Invoke lazy invocation
| > | Date: Wed, 22 Oct 2003 16:10:54 -0200
| > | Lines: 10
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
| > | X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
| > | Message-ID: <
[email protected]>
| > | Newsgroups: microsoft.public.dotnet.framework.compactframework
| > | NNTP-Posting-Host: iserv.cpovo.net 200.248.147.15
| > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl
| > microsoft.public.dotnet.framework.compactframework:36576
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
| > |
| > | I am using the Control.Invoke method with the Compact Framework.
| > | And appears the my delagate takes so much time to be invoked!
| > | I've noted that when I closes the dialogbox, it goes!
| > |
| > |
| > | Any help please?
| > | ---
| > | Rafael Pivato
| > |
| > |
| > |
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| >
|
|
|
This posting is provided "AS IS" with no warranties, and confers no rights.