Hi
I have a .NET application that use a COM. The listener is a .NET Socket and I need to pass it to the COM.
I can send it as a VARIANT or VARIANT*, but I can't cast it back to (Socket^) in the COM dll.
Somebody know how to do this?
thanks
Is there anyway to pass a .Net Socket to COM ? (by VARIANT???)
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Jul 4, 2010, 8:34 AM EDT