G
Guest
I have a C# application that reads from a serial stream. This information is
parsed out and saved to an xml file, also it is displayed in an GUI. The
application actually reads data from two seperate COMM ports (one is lap
times the other is track temperature readings). We recently purchased a USB
device to read air temperatures. This device came with an OCX control. The
problem I have is, if I have to put the OCX control in my form then I will
have to use some ugly kludge to get the data from the device into the module
that actually does the saving of the data. I hate ugly code. Is there
anyway to instantiate a class from an OCX in a class library? So far I've
had no success. Thanks.
Ryan
parsed out and saved to an xml file, also it is displayed in an GUI. The
application actually reads data from two seperate COMM ports (one is lap
times the other is track temperature readings). We recently purchased a USB
device to read air temperatures. This device came with an OCX control. The
problem I have is, if I have to put the OCX control in my form then I will
have to use some ugly kludge to get the data from the device into the module
that actually does the saving of the data. I hate ugly code. Is there
anyway to instantiate a class from an OCX in a class library? So far I've
had no success. Thanks.
Ryan