Plugin: defining interface for object passed in from parent app

Posted on 2006-04-12
Last Modified: 2013-11-18
I'm writing a plugin for a home automation app.  The plugin is a dll, and I define a register function that is called with a parameter that is an object I can use to call functions in the parent app.  I'm trying to figure out how to define this object so I don't have to do late binding.  Basically I want to define a class that has all the interfaces, but doesn't implement them, then assign the object I'm passed to that class and be able to call the interfaces without late binding.  Can this be done?
Question by:danhi
    1 Comment
    LVL 69

    Accepted Solution

    see an article I wrote in August 2005 at

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
    In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
    This video discusses moving either the default database or any database to a new volume.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now