Title: Message
What about a mathematical _expression_ evaluator? Specify a conversion formula for a device via ini, or whatever.
 
Phil.
----- Original Message -----
Sent: Tuesday, August 05, 2003 10:54 PM
Subject: [DUG]: What is the best way

Hi All.
I have got an app. that gets data from devices via the comport.
60% if not more of the data from these devices is similar or easy  to deal with, like dates and times, but other info can be specific to a device, and i have to normalize it into a format that I want.
 
In times gone by, about 6-7 years ago, if not more, when I first wrote this app., I used DLL's and depending onn teh devide you specified in an INI file it used that DLL, which I think from memory was done via the setup, so there was only one DLL.
BUT this was really not a good idea, as it was hard to debug and just overall never practical.
 
I have thought that I could use classes this time round, once again specifying the device type in an INI file, and then based onthat it would know hat class to use.
But is this the best way either? I mean, if I find a device that has not got a class for it already, then its a new EXE release.
 
I guess what woud be idea would be if I could load some specific functions up at runtime, and then access them then it would only ever be a txt file or whatever that I would need to distribute.
I thought something like Delphi WebScript, but I need to get results back to go into a DB.
 
Has anyone got any Ideas? Would Classes be the best? or is there something else I can look at?
 
Cheers,
 
Jeremy Coulter
 
 
------------------------------------------------------------------------
All email scanned with Nortons Antivirus 2003
------------------------------------------------------------------------
 

Reply via email to