@ranrozin wrote:
I have an evaluation license to Rhino and I write a plugin in c#.
For some reason I get a com error all the time, even with the basic sample code I downloaded from the forum.
I use windows and the error I get is
DisconnectedContext occurred
Message: Managed Debugging Assistant 'DisconnectedContext' has detected a problem in 'c:\Program Files (x86)\Rhinoceros 5\System\Rhino4.exe'.
Additional information: Transition into COM context 0xc41318 for this RuntimeCallableWrapper failed with the following error: The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED)). This is typically because the COM context 0xc41318 where this RuntimeCallableWrapper was created has been disconnected or it is busy doing something else. Releasing the interfaces from the current COM context (COM context 0xc41260). This may cause corruption or data loss. To avoid this problem, please ensure that all COM contexts/apartments/threads stay alive and are available for context transition, until the application is completely done with the RuntimeCallableWrappers that represents COM components that live inside them.Help
Ran
Posts: 5
Participants: 2