SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Drag and Drop Fail

Last post 10-28-2007 11:37 AM by JacquesAudette. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-08-2007 7:51 PM

    Drag and Drop Fail

    The event DoDragDrop failed when I was running the application at Design Mode. and when the cursor lose the focus of the application it produce the follow exception.

    SharpDevelop Version : 2.2.1.2648
    .NET Version         : 2.0.50727.42
    OS Version           : Microsoft Windows NT 5.1.2600 Service Pack 2
    Current culture      : Spanish (Ecuador) (es-EC)
    Current UI language  : es-ES
    Working Set Memory   : 184604kb
    GC Heap Memory       : 45923kb

    Exception thrown:
    System.Runtime.InteropServices.COMException (0x8013134F): Object is in a zombie state. (Exception from HRESULT: 0x8013134F)
       at Debugger.Interop.CorDebug.ICorDebugAppDomain.GetProcess(ICorDebugProcess& ppProcess)
       at Debugger.Wrappers.CorDebug.ICorDebugAppDomain.get_Process()
       at Debugger.ManagedCallbackProxy.<>c__DisplayClass16.<CreateThread>b__15()
       at Debugger.MTA2STA.<>c__DisplayClass3.<EnqueueCall>b__0()
       at Debugger.MTA2STA.PerformAllCalls()
       at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
       at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
       at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

     

    I don't know if i'm write bad my code or if it's an exception. I hope that It helps. Bye 

    Filed under:
  • 10-28-2007 11:37 AM In reply to

    Re: Drag and Drop Fail

    I don't think it's your code, or mine has the same defect...;)

    Try doing your d&d with #D minimized. For me, this solved the problem.

    To resume: If i Drag my object over the #D window (without dropping it), my application hangs but if i do not cross #D region, everyting is fine.

    Hope this helps everybody.

    I add my error code at the end.

     

    Jacques.

     

    SharpDevelop Version : 2.2.1.2622
    .NET Version         : 2.0.50727.1378
    OS Version           : Microsoft Windows NT 6.0.6000.0
    Current culture      : English (Canada) (en-CA)
    Current UI language  : en-US
    Working Set Memory   : 114392kb
    GC Heap Memory       : 33295kb

    Exception thrown:
    System.Runtime.InteropServices.COMException (0x8013134F): Object is in a zombie state. (Exception from HRESULT: 0x8013134F)
       at Debugger.Interop.CorDebug.ICorDebugAppDomain.GetProcess(ICorDebugProcess& ppProcess)
       at Debugger.Wrappers.CorDebug.ICorDebugAppDomain.get_Process() in c:\dev\Serralongue\src\AddIns\Misc\Debugger\Debugger.Core\Project\Src\Wrappers\CorDebug\Autogenerated\ICorDebugAppDomain.cs:line 180
       at Debugger.ManagedCallbackProxy.<>c__DisplayClassa.<Exception>b__9() in c:\dev\Serralongue\src\AddIns\Misc\Debugger\Debugger.Core\Project\Src\Debugger\Internal\ManagedCallbackProxy.cs:line 81
       at Debugger.MTA2STA.<>c__DisplayClass3.<EnqueueCall>b__0() in c:\dev\Serralongue\src\AddIns\Misc\Debugger\Debugger.Core\Project\Src\Debugger\Internal\MTA2STA.cs:line 37
       at Debugger.MTA2STA.PerformAllCalls() in c:\dev\Serralongue\src\AddIns\Misc\Debugger\Debugger.Core\Project\Src\Debugger\Internal\MTA2STA.cs:line 57
       at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
       at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
       at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.