I need to send data to some devices, each using different communication protocol.
I'm thinking to build different DLL for each device, each having the same entry point/call function;
let's say SendData().
Thus I can have a unique user interface and send the data collected to the local device in the same manner for all devices... but:
How can I dynamically select the DLL corresponding to the device attached to the workstation ?
Something like :
set dll to dev1.dll
set dll to dev2.dll