Interop object throws exception If two session of applications are open in C++

0

I am using System::Runtime::InteropServices::Marshal::GetActiveObject(MyApplication); to initialize my Interop object. When I open two sessions of application and in second session, call the function of interop object, it throws following exception HRESULT 0x80010105:

enter image description here

Is there a way I can use interop object in two sessions separately ?

c++
interop
com-interop
marshalbyrefobject
interopservices
asked on Stack Overflow Jul 2, 2020 by Fatema

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0