[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 129
  • Last Modified:

Plugin: defining interface for object passed in from parent app

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?
0
danhi
Asked:
danhi
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
see an article I wrote in August 2005 at http://emoreau.s2i.com/
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now