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
Loading
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Answers
Know the answer? Post it. Somebody with the same question will find it here.