Link to home
Start Free TrialLog in
Avatar of FabianPece
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
Avatar of F. Dominicus
F. Dominicus
Flag of Germany image

Please check out th efollowing books:
.NET and COM the complete interoperability guide.

Following the examples there will surely help.

Regards
Friedrich
ASKER CERTIFIED SOLUTION
Avatar of FabianPece
FabianPece

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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