Click here to Skip to main content
15,895,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: Using an unmanaged C++ dll in my C# app Pin
Heath Stewart15-Mar-04 3:50
protectorHeath Stewart15-Mar-04 3:50 
GeneralRe: Using an unmanaged C++ dll in my C# app Pin
Nemanja Trifunovic15-Mar-04 5:27
Nemanja Trifunovic15-Mar-04 5:27 
QuestionDirectX Question???? Pin
SherKar14-Mar-04 8:10
SherKar14-Mar-04 8:10 
AnswerRe: DirectX Question???? Pin
Dave Kreskowiak14-Mar-04 12:24
mveDave Kreskowiak14-Mar-04 12:24 
AnswerRe: DirectX Question???? Pin
Heath Stewart15-Mar-04 3:47
protectorHeath Stewart15-Mar-04 3:47 
GeneralSend SMS usign C# Pin
shanaka14-Mar-04 3:00
shanaka14-Mar-04 3:00 
GeneralRe: Send SMS usign C# Pin
Dave Kreskowiak14-Mar-04 6:36
mveDave Kreskowiak14-Mar-04 6:36 
GeneralProbblem with refrencing DLLs Pin
CWIZO14-Mar-04 2:50
CWIZO14-Mar-04 2:50 
Hi all,


I have created a simple plugin manager (I got some ideas from: http://www.codeproject.com/csharp/PluginsInCSharp.asp)

So when I compile I get 3 dll's:
PluginManager.dll :: this one contains all the code for loading and storing the plugins
IPlugin.dll :: interface which plugin's must implement in order to work
IPluginHost.dll :: this one contains one interface, and this dll must be made for every project, as there are programm speciffic method in it (see article).

The PluginManager.dll refrences IPlugin and IPluginHost, and the IPlugin refrences IPLuginHost.


And I would liek to make things easier for use, so you would only have to compile IPluginHost.dll if you would liek to expose some methods to plugins.

So how can I make that the PluginManager.dll and IPlugin.dll will refrence the IPluginHost.dll at run-time, knowing that the DLL wil always have the name IPluginHost.dll and that it will be in the same irectory.

If I could do this, then I could just refrence PluginManager.dll and IPlugin.dll in my project copy them in my app dir, make a IPluginHost.dll compile it put-it into my app dir and the other two would use it.

Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
GeneralRe: Probblem with refrencing DLLs Pin
Heath Stewart15-Mar-04 3:43
protectorHeath Stewart15-Mar-04 3:43 
GeneralRe: Probblem with refrencing DLLs Pin
CWIZO16-Mar-04 9:46
CWIZO16-Mar-04 9:46 
Generalgetting pixels Pin
quilkin14-Mar-04 1:51
quilkin14-Mar-04 1:51 
GeneralRe: getting pixels Pin
Mazdak14-Mar-04 4:50
Mazdak14-Mar-04 4:50 
GeneralRe: getting pixels Pin
quilkin14-Mar-04 6:58
quilkin14-Mar-04 6:58 
GeneralRe: getting pixels Pin
Mazdak14-Mar-04 7:15
Mazdak14-Mar-04 7:15 
GeneralEvents - a beginner asks for help Pin
shadowpippin14-Mar-04 1:21
sussshadowpippin14-Mar-04 1:21 
GeneralRe: Events - a beginner asks for help Pin
Meysam Mahfouzi14-Mar-04 4:26
Meysam Mahfouzi14-Mar-04 4:26 
GeneralRequired header <conio.h> of C-library Pin
oOomen13-Mar-04 23:47
oOomen13-Mar-04 23:47 
GeneralRe: Required header <conio.h> of C-library Pin
oOomen14-Mar-04 1:50
oOomen14-Mar-04 1:50 
Generalfrom a datagrid in one to a textbox in another form Pin
ASGill13-Mar-04 21:49
ASGill13-Mar-04 21:49 
GeneralRe: from a datagrid in one to a textbox in another form Pin
Mazdak14-Mar-04 4:45
Mazdak14-Mar-04 4:45 
GeneralRe: from a datagrid in one to a textbox in another form Pin
ASGill14-Mar-04 13:44
ASGill14-Mar-04 13:44 
GeneralRe: from a datagrid in one to a textbox in another form Pin
Mazdak14-Mar-04 20:23
Mazdak14-Mar-04 20:23 
GeneralConvert Char[] to string Pin
dabuskol13-Mar-04 20:57
dabuskol13-Mar-04 20:57 
GeneralRe: Convert Char[] to string Pin
Heath Stewart15-Mar-04 3:20
protectorHeath Stewart15-Mar-04 3:20 
GeneralInsert Messages into game chat from c# app Pin
lordjpg13-Mar-04 20:08
lordjpg13-Mar-04 20:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.