No announcements
Found 3824775 threads
-
3 Votes
Using A Class Defined In A Dynamically Loaded C# DLL That Implements An Interface
So the first thing you need to do is define the interface that plugins will implement.Answered | 8 Replies | 16325 Views | Created by Ofer Elboher - Thursday, May 2, 2013 2:03 PM | Last reply by Ofer Elboher - Thursday, May 2, 2013 7:12 PM -
0 Votes
Proves on dynamically implementing C# interfaces
To have a dynamically generated class implement an interface, you need to call AddInterfaceImplementation.Answered | 5 Replies | 2413 Views | Created by Eric Javier Hernandez Saura - Wednesday, September 19, 2012 2:48 PM | Last reply by Louis.fr - Thursday, September 20, 2012 9:47 AM -
0 Votes
casting a dynamically loaded class to an interface
What you're creating is often referred to as a "plug-in", so I'm going to use that term.Answered | 2 Replies | 3822 Views | Created by Newmanb1 - Saturday, January 16, 2010 5:24 PM | Last reply by Tergiver - Saturday, January 16, 2010 7:23 PM -
0 Votes
Implementing dll has not defined all the methods declared in the interface??
This just can lead to unexpected behaviour of the classes that would use your classes (with partly implemented inteface).Answered | 4 Replies | 1554 Views | Created by IshNair - Thursday, December 29, 2011 10:48 AM | Last reply by IshNair - Monday, January 2, 2012 7:21 AM -
0 Votes
How to use an Interface of external dll in c#
Note the following example : static void DoTest() { // Load the assemby which defines the MyType interface.Answered | 4 Replies | 16758 Views | Created by Duan Brito - Friday, August 29, 2014 2:59 PM | Last reply by Aditya90u - Tuesday, August 8, 2017 6:41 AM -
0 Votes
Defining an interface with restrictions as to what classes can implement it
You should not use this method to restrict the arguments type.Answered | 5 Replies | 2705 Views | Created by Wants2Learn - Tuesday, November 30, 2010 12:12 PM | Last reply by Crazypennie - Wednesday, December 1, 2010 12:22 PM -
2 Votes
Finding all class who implement an interface in a dll
I was a bit distracted by the dll thing, I'm still not clear whether that means just the dll and no code is available.Answered | 5 Replies | 569 Views | Created by Benjioe - Monday, February 8, 2016 2:22 PM | Last reply by Andy ONeill - Monday, February 8, 2016 4:35 PM -
2 Votes
warning C4275: non dll-interface class...
The C++ standard specifies that virtual functions are implemented in an implementation-dependent manner; in other words, vtables are not defined by the standard.Answered | 18 Replies | 31823 Views | Created by Piotr Dobrogost - Thursday, January 22, 2009 3:43 PM | Last reply by Brian Muth - Saturday, April 9, 2016 11:37 PM -
2 Votes
Sub classing Class with implemented interface
Aha, so I guess that the source of the error was that you were trying to put "virtual" on the explicit implementation of the Load member of the interface.Answered | 13 Replies | 1477 Views | Created by Sanyon_d - Saturday, October 5, 2013 4:27 AM | Last reply by Mike Danes - Monday, October 7, 2013 5:51 AM -
1 Votes
Implements a public interface into a class
You set reference to the DLL/nameapce that has the Interface.Answered | 8 Replies | 1736 Views | Created by NeonGenesis - Tuesday, March 20, 2012 4:03 PM | Last reply by Horizon_Net - Tuesday, March 27, 2012 8:31 AM -
0 Votes
Question on class and interface implementation
you have to create an instance of a class implementing the interface.Answered | 10 Replies | 3608 Views | Created by Captain Mike - Tuesday, September 21, 2010 1:43 AM | Last reply by davewilk - Wednesday, September 22, 2010 2:23 PM -
2 Votes
Can I use C# to define the user interface and place the "meat" in native C++ DLLs?
What interface do I need to implement?Answered | 9 Replies | 2644 Views | Created by Juan Dent - Saturday, August 19, 2017 9:18 PM | Last reply by Simple Samples - Monday, August 21, 2017 6:45 AM -
0 Votes
abstract class needs to implement interface
The abstract base class is NOT defining any default implementation for you.Answered | 6 Replies | 3063 Views | Created by Michał Januszczyk - Wednesday, March 11, 2009 6:27 PM | Last reply by Rudedog2 - Wednesday, March 11, 2009 11:54 PM -
0 Votes
Using dynamically loaded dll from dynamically created class
I can dynamically load a dll and use it fine.Answered | 1 Replies | 4789 Views | Created by powell2285 - Tuesday, December 1, 2009 3:48 PM | Last reply by Michael L. Wagner - Tuesday, December 1, 2009 4:35 PM -
1 Votes
Interface Implementation (Class property implementing, is internal)
The reason I'm using an interface is because I'm passing the Interface to a SQLBuilder class that extracts the values of the Interface and turns them into ...Answered | 7 Replies | 1769 Views | Created by Phenomin - Wednesday, December 28, 2011 5:29 PM | Last reply by Phenomin - Wednesday, December 28, 2011 9:40 PM -
5 Votes
Expose C++ DLL version publically using a #define
Igor TandetnikAnswered | 4 Replies | 3513 Views | Created by nosage - Wednesday, July 3, 2013 7:06 PM | Last reply by Igor Tandetnik - Thursday, July 4, 2013 12:06 AM -
0 Votes
Dynamically load user controls from a DLL file in C# .net
Hi, I would like to point out a couple of things to begin with; A plugin architecture typically utilizes a "base" class, or it can be ...Answered | 2 Replies | 19247 Views | Created by Zule_74 - Friday, June 10, 2011 10:04 PM | Last reply by Zule_74 - Monday, June 13, 2011 10:50 PM -
2 Votes
Dynamically load a DLL in VB.net
this post is unanswered since 2006, better late than ...Answered | 8 Replies | 50707 Views | Created by Eidur - Tuesday, August 15, 2006 7:03 AM | Last reply by checktechno - Wednesday, December 12, 2012 10:23 PM -
2 Votes
C# Interface Private Implementation
Because MyClass implements IEven there's an implicit conversion from MyClass to IEven so, as you already discovered, the explicit cast isn't required.Answered | 5 Replies | 1180 Views | Created by recherche - Wednesday, December 18, 2013 10:33 AM | Last reply by recherche - Thursday, December 19, 2013 5:27 AM -
0 Votes
How To Implement an interface in ATL?
MikeLokI wrote: How do i have ATL setup a class for me in which i can implement a Interface that is located within a header file?Answered | 2 Replies | 2724 Views | Created by MikeLokI - Saturday, April 7, 2012 2:26 AM | Last reply by Igor Tandetnik - Saturday, April 7, 2012 1:41 PM - Items 1 to 20 of 3824775 Next ›
No announcements