S
Stijn
Hi there,
I have the following problem. At the moment I am creating an
application that interfaces with several hardware modules via USB.
Each of these devices has its own functionality and I want to make
this functionality available to programmers in a very generic way.
Therefore I came up with the following idea.
1) USB devices can have a small description. In this description i
will store the name of the DLL that covers the device its
functionality.
2) When the USB device is plugged in, the application will load the
DLL stored in the device. This will only be generic functions that
count for all devices.
3) These DLL's then provide some generic functions that enable
programmers to load the device specific functions from the DLL.
Im am sure this will work, I know how to do it in C, but my managers
want me to develop this in C#.NET. I read some articles on DLL's in C#
and I know how to write some basic DLL's in C#, but I couldn't find
the dynamics I need for this solution. Is it even possible in C# and
how can it be done?
Thank you in advance!!
Stijn
I have the following problem. At the moment I am creating an
application that interfaces with several hardware modules via USB.
Each of these devices has its own functionality and I want to make
this functionality available to programmers in a very generic way.
Therefore I came up with the following idea.
1) USB devices can have a small description. In this description i
will store the name of the DLL that covers the device its
functionality.
2) When the USB device is plugged in, the application will load the
DLL stored in the device. This will only be generic functions that
count for all devices.
3) These DLL's then provide some generic functions that enable
programmers to load the device specific functions from the DLL.
Im am sure this will work, I know how to do it in C, but my managers
want me to develop this in C#.NET. I read some articles on DLL's in C#
and I know how to write some basic DLL's in C#, but I couldn't find
the dynamics I need for this solution. Is it even possible in C# and
how can it be done?
Thank you in advance!!
Stijn