FabianPece
asked on
COM Interoperability
I have a VB.Net dll and a C++ BHO for IE 7. I need to consume events in my BHO, generated by the dll.
I am using IDispatch interface in an ATL COM. I've tried many ways and I couldn't find a solution.
When I use ADVISE I get E_NOINTERFACE or E_INVALIDARGS with different Implementations.
I'm attaching samples of what I've tried and what happened in each...If I do a query it works, but I get the error when I use ADIVSE, after finding Conexion Point is OK.
error.txt
I am using IDispatch interface in an ATL COM. I've tried many ways and I couldn't find a solution.
When I use ADVISE I get E_NOINTERFACE or E_INVALIDARGS with different Implementations.
I'm attaching samples of what I've tried and what happened in each...If I do a query it works, but I get the error when I use ADIVSE, after finding Conexion Point is OK.
error.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Well yes, its not that unusual and one can not know every book about that topic. So you question may have need a lengthy explanation and so I suggested that book.
Regards
Friedrich
Regards
Friedrich
.NET and COM the complete interoperability guide.
Following the examples there will surely help.
Regards
Friedrich