florindaniel
Programmer
Hello,
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 :
switch <curr_dev>
case dev1:
set dll to dev1.dll
case dev2:
set dll to dev2.dll
.
.
.
Thank you
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 :
switch <curr_dev>
case dev1:
set dll to dev1.dll
case dev2:
set dll to dev2.dll
.
.
.
Thank you