One of the projects I'd like to port is a script that polls the serial port for data. However, the 3rd party app that would be using this component would need to call other functions while I'm polling the serial port after 'creation'. (this wasn't a requirement as a script since I used Win32::OLE instead of handling 'callbacks').
Has anyone done something similar, and what are my best options for this? Can Win32::SerialPort be used in conjunction with events to avoid the while(1) loop?
-Nitrox
In reply to Serial port polling/multi tasking in an ActiveX component by Nitrox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |