Re: ppc windows mobile slow slow
- From: "Chris Tacke, eMVP" <ctacke@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 11 Aug 2005 16:46:13 -0400
Actually the desktop doesn't do anything for it - it's a bad practice in the
full framework that can still cause a hang (just as it can in unmanaged
code). For some reason the desktop is just a lot more forgiving, allowing
poor code to run without error for longer.
--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
"Paul G. Tobey [eMVP]" <ptobey no spam AT no instrument no spam DOT com>
wrote in message news:ewUcoCrnFHA.2852@xxxxxxxxxxxxxxxxxxxxxxx
> It wouldn't just cause things to slow down, if that's what you're seeing,
> but it can cause the program to hang. The desktop, apparently, does
> something to automatically handle the problem, but the .NET CF does not.
> I searched the archives on "refresh thread invoke" and got a manageable
> list of articles for you to read. You can search the archives from
> GoogleGroups here:
>
> http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8
>
> Paul T.
>
> "ed via DotNetMonster.com" <forum@xxxxxxxxxxxxxxxxx> wrote in message
> news:52B27CA1988A0@xxxxxxxxxxxxxxxxxxxx
>> Hey Paul:
>>
>> Very interesting what you've said... I wonder if that's it. so the way
>> around it is by using invoke?
>> My project originally started within the windows desktopFW so I never
>> have
>> these issue, this is interesting. If this is indeed the reason for the
>> code
>> performance, I'll need to buy you a steak dinner. Can't thank you enough
>> for
>> yuor continued help. I am reading up on the issue and work around now,
>> hopefully this will solve my prob. Thanks again.
>>
>>
>> Paul G. Tobey [eMVP] wrote:
>>>No, the same .NET CF 1.0SP3 that runs on your PPC2003SE is what's running
>>>on
>>>our 4.2-based device with the latest CE components installed. It might
>>>have
>>>some different behaviors based on the platform (where tabs on tabbed
>>>forms
>>>are), but I think that the basic operations are identical.
>>>
>>>The .NET CF is *very* sensitive to calling any GUI-related method from a
>>>non-GUI thread. This has been covered here in the newsgroup over and
>>>over
>>>again, along with how to use Invoke to get around it. My first guess is
>>>that you're calling some GUI-thread-only method from another thread.
>>>
>>>Paul T.
>>>
>>>> Paul:
>>>>
>>>[quoted text clipped - 36 lines]
>>>>>>>>>>
>>>>>>>>>> Ed
>>
>> --
>> "What if this is as good as it gets?"
>>
>>
>> Message posted via DotNetMonster.com
>> http://www.dotnetmonster.com/Uwe/Forums.aspx/dotnet-compact-framework/200508/1
>>
>
>
.
- References:
- ppc windows mobile slow slow
- From: ed via DotNetMonster.com
- Re: ppc windows mobile slow slow
- From: Paul G. Tobey [eMVP]
- Re: ppc windows mobile slow slow
- From: ed via DotNetMonster.com
- Re: ppc windows mobile slow slow
- From: Paul G. Tobey [eMVP]
- Re: ppc windows mobile slow slow
- From: ed via DotNetMonster.com
- Re: ppc windows mobile slow slow
- From: Paul G. Tobey [eMVP]
- Re: ppc windows mobile slow slow
- From: ed via DotNetMonster.com
- Re: ppc windows mobile slow slow
- From: Paul G. Tobey [eMVP]
- Re: ppc windows mobile slow slow
- From: ed via DotNetMonster.com
- Re: ppc windows mobile slow slow
- From: Paul G. Tobey [eMVP]
- ppc windows mobile slow slow
- Prev by Date: Re: Save bitmap image in CF
- Next by Date: USB
- Previous by thread: Re: ppc windows mobile slow slow
- Next by thread: Re: ppc windows mobile slow slow
- Index(es):
Relevant Pages
|