Use COM+ to host ServerX VNC Server ActiveX


http://www.s-code.com/forum/Topic1959.aspx
Print Topic | Close Window

By ningjih - Thursday, February 28, 2008
I develop a COM+ component by using .net C# language, which has a form in the COM+, and I add VNC Server ActiveX to this form. All codes can be compiler no probelm and the COM can be registered to system.

Issue: System will prompt exception "Can not create this object ....., because this thread state was not an single thread apartment."

I had search more documents and can not found any documents to fix this problem, and I can not found method to mark my C# COM+ as STA.