No such interface supported


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: No such interface supported

Hybrid View

  1. #1
    Frank Oquendo Guest

    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"





  2. #2
    Frank Oquendo Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center