-
No such interface supported
I get that error every time I try to wire up my event handler to an event
exposed by a COM object. Everything compiles correctly but the app blows up
when I actually try to add my event handler to the chain.
Is there something general I should be watching out for or is this problem
specific to AutoCAD?
P.S. I'll be glad to post or forward code upon request. I know AutoCAD isn't
a general topic so I didn't want to post code no one would use.
--
http://www.acadx.com
"If you want to be somebody else change your mind"
-
Re: No such interface supported
Never mind; I've found the problem. Apparently, some COM apps require that
ConnectionPoint objects implement IDispatch. The solution required
decompiling the interop assembly to IL and changing all SinkHelper classes
from private to public.
--
http://www.acadx.com
"If you want to be somebody else change your mind"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|