Thema: 

ObjectDisposedException

Diskutiere ObjectDisposedException im Programmieren Forum im Bereich Windows Mobile 6.5 und älter; Bei einigen Anwendungen welche mit dem .NET CF (.NET Compact Framework) entwickelt wurden (egal welche Version) kann (vor allem) beim

  1. #1

    ObjectDisposedException

    Bei einigen Anwendungen welche mit dem .NET CF (.NET Compact Framework) entwickelt wurden (egal welche Version) kann (vor allem) beim Beenden eine ObjectDisposedException auftreten.

    Konnte dies, bis jetzt, nur bei neueren Geräten (WM 6.1) welche die .NET CF 3.5 Runtime installiert haben beobachten. Anwendungen die zuvor wunderbar und ohne Probleme funktioniert haben, leiden nun darunter:
    ObjectDisposedException

    bei Microsoft.AGL.Common.MISC.HandleAr(PAL_ERROR ar)
    bei System.Windows.Forms.Control.Focus()
    bei TestApplication.MainForm.OnGotFocus(EventArgs e)
    bei System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)
    bei System.Windows.Forms.ContainerControl.WnProc(WM wm, Int32 wParam, Int32 lParam)
    bei System.Windows.Forms.Form.WnProc(WM wm, Int32 wParam, Int32 lParam)
    bei System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)

    Hatte bis jetzt leider noch keine Zeit das zu Debuggen, aber ich tippe mal wieder auf ein nettes Geschenk aus Redmond

  2. #2

    ObjectDisposedException

    Hab wohl damals im falschen Thema gepostet:
    http://www.pocketpc.ch/alle-anderen-...exception.html

    Wenn das CF 3.5 installiert ist, tritt in manchen Situationen die ObjectDisposedException auf ... Beim CF 2.0 (gleiche Apps) passiert es aber nicht ...

    Siehe auch: http://social.msdn.microsoft.com/For...2-97f8b3d8a52d

  3. Die folgenden Benutzer danken hfrmobile für diesen wertvollen Beitrag:

    CHfish (16.03.2010)

  4. #3

    AW: ObjectDisposedException

    sehr seltsam. das beenden führt zu dieser exception?

  5. #4

    AW: ObjectDisposedException

    Ja bzw. auch beim Close einer Form kommt diese Exception.

  6. #5

    AW: ObjectDisposedException

    Kannst du die Anwendung neu erstellen für 3.5? der Quellcode müsste ja identisch sein dürfen.

Antworten
Du betrachtest ObjectDisposedException im Forum Programmieren im Bereich Windows Mobile 6.5 und älter von PocketPC.ch.

ObjectDisposedException

Besucher haben diese Seite mit folgenden Suchbegriffen gefunden:

objectdisposedexception

objectdisposedexception at Microsoft.AGL.Common.MISC.HandleArobject disposed exceptionobjectdisposedwindows ce object disposedpal_error objectdisposedexceptionobject windows exceptionobjectdisposedexception windows formsobjectdispoedexceptoin microsof.tagl.common.misc.handlearobjectdisposedexce3ptionform disposed exceptionobject disposed excetiopnppc objectdisposedexceptionmsdn wnprocMicrosoft.AGL.Common.MISC.HandleAr at System.Windows.Forms.Control.OnGotFocus(EventArgs e)mobile 6.1 ObjectDispose Exceptionwindows mobile microsoft.agl.commonobjectdisposedexception microsoft.agl.common.misc.handlearObjectDisposedException programm endeobjectdisposed exceptionobject disposed execptionMicrosoft.AGL.Common.MISC.HandleAr (PAL_ERROR ar)microsoft.agl.common.misc.handlear pal_error ar objectdisposedexception 6.5.net microsoft.agl.common.misc.handleAr bei Close FormobjectDisposedExceprion

Stichworte