Hi All,
I have a problem with interop as explained below:
I have a component build in VC++ 6.0.
I have built another component in C#. These two components follow
"Observer" pattern where VC++ component acts as the subject and C#
component acts the observer.
As C# is the observer, it has to "Register" with C++ and has to give
it's own custom call back interface pointer (not IUnknown)
All is well, till the C++ makes a call on the call back interface
pointer. When the C++ tries to call the call back method, it just gets
blocked there. I don't understand what is happening there.
Could some explain it>?
Thanks in advance
Regards
CAra
CAra - 24 Oct 2005 13:02 GMT
Hello all,
now it is working! But I still don't know why it is working...
I have done the following changes:
I have added "ComVisibleAttribute" and set its value to "true" for
those call back methods and tested. It worked fine.
After this, I have removed that attribute and tested again. This time
also it worked. I am somewhat happy though I don't know wthaz
happening....
Regards
CAra