bjwade62 Posted October 3, 2006 Posted October 3, 2006 I'm really new to .NET and am trying to convert some of my VB6 apps. I'm using a COM component. I'm getting the following error at runtime. Can anyone explain it to me in layman's turns and suggest a fix? Thanks! DisconnectedContext was detected Message: Context 0x1a07a8' is disconnected. Releasing the interfaces from the current context (context 0x1a0358).This may cause corruption or data loss. To avoid this problem, please ensure that all contexts/apartments stay alive until the applicationis completely done with the RuntimeCallableWrappers that represent COM components that liveinside them. Quote
Administrators PlausiblyDamp Posted October 4, 2006 Administrators Posted October 4, 2006 What is the COM component in question? Do you know if the component has any special threading requirements (Single-Threaded or Multi-Threaded Apartment)? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts