L
las
I am transitioning from the COM world to .Net, and can't find an answer
to a fundamental question.
How do I late-bind to classes that did not exist at the time I wrote my
application?
I don't need to be spoon fed how to do it, but am having trouble
navigating the documentation to find the answer myself.
I am writing a data handler application that will handle interactions
with various types of devices. There will be a base data handler that
would allow components to be plugged in for the various devices to be
supported, including new devices that don't exist right now.
In the COM world I would write a COM DLL for each device I am to
support, register that COM class on the computer, then create a
configuration file that lists the supported devices and the name of the
COM class. My base handler would then call CreateObject to instantiate
the device handlers as needed.
What's the approach in .Net?
Thanks!
Lee
to a fundamental question.
How do I late-bind to classes that did not exist at the time I wrote my
application?
I don't need to be spoon fed how to do it, but am having trouble
navigating the documentation to find the answer myself.
I am writing a data handler application that will handle interactions
with various types of devices. There will be a base data handler that
would allow components to be plugged in for the various devices to be
supported, including new devices that don't exist right now.
In the COM world I would write a COM DLL for each device I am to
support, register that COM class on the computer, then create a
configuration file that lists the supported devices and the name of the
COM class. My base handler would then call CreateObject to instantiate
the device handlers as needed.
What's the approach in .Net?
Thanks!
Lee