COM Interop Exposed - Part 2
HOW TO: Sink Managed C# Events in Internet Explorer Script
This post is about troubleshooting some common mistakes that may occur. The key thing to note is that if you fail to follow the steps listed in these articles:
- you will NOT get a compile time error
- you will NOT get an error when registering the component
- you will NOT get an error at runtime when you attach the event handler.
- Did not put a Dispid attribute on the methods in my event interface.
- Had name mismatches between the events in my main class and the method names in my interface.
No comments:
Post a Comment