> Here is my setup:
>
[quoted text clipped - 26 lines]
>
> Brad
I believe that you can specify IPluginInterface within the MyApp.exe
project. Then, when you create your PluginTest.dll, you just have to
reference the MyApp project. The only time you would need the shared
middle dll is if you define a second interface that MyApp implements
so your plugin has some idea about the application using it.
Mike
Brad Figler - 09 Feb 2007 04:55 GMT
>> Here is my setup:
>>
[quoted text clipped - 34 lines]
>
> Mike
Yeah, that is the "other" solution that I found during my time on google.
I don't necessarily want to do that because I have a bit of a funky
setup (from a development point of view).
The actual code that will use the plugin is a windows service. The
service entry point simply launches thread(s) that actually do the work
(and respond to the service manager requests). Well, the myApp.exe in
the above example is actually a test harness that includes all of the
code accept the entry point in to the service. This allows me to "run"
my services in normal program space while developing/debugging.
If I was to do that, I would have to put my plugin interface in my
service.exe and I don't want to do that because I want my test harness
to run independently of the service (and vice versa).
Long story short, I will just deal with the additional DLL.
Thanks for the response.
Brad