Re: ppc windows mobile slow slow

Tech-Archive recommends: Fix windows errors by optimizing your registry



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
>>
>
>


.



Relevant Pages

  • Re: ppc windows mobile slow slow
    ... but it can cause the program to hang. ... searched the archives on "refresh thread invoke" and got a manageable list ... You can search the archives from GoogleGroups ... > Hey Paul: ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Best Book For Compact Framework and Windows CE 4.x
    ... as that's where most of the .NET CF people hang out. ... the archives via GoogleGroups: ... Paul T. ...
    (microsoft.public.windowsce.app.development)
  • Re: [SLE] Warning to Americans! A4 <> Letter?
    ... On Friday 28 April 2006 09:32 pm, Paul W. Abrahams wrote: ... your printer to hang up. ... Also check the archives at http://lists.suse.com ...
    (SuSE)
  • RE: ER_KRNLCRASH_LOG
    ... Event Type: Error ... Event Source: Application Hang ... Computer: PAUL ...
    (microsoft.public.windowsxp.general)
  • RE: ER_KRNLCRASH_LOG
    ... Event Type: Error ... Event Source: Application Hang ... Computer: PAUL ...
    (microsoft.public.windowsxp.general)