Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mscomm32.ocx vs commtools?
Message
From
19/03/2004 10:01:57
Koos Veel
Gamma Research
Aruba
 
 
To
17/03/2004 17:31:15
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00886943
Message ID:
00887894
Views:
21
>>Hi All,
>>
>>We are rewriting a FPD2.6 app into VFP8.0 where we need to read a COM port continuously but at the same time the app must allow for printing reports and do some data entry, so the reading of the port must go on in the background.
>>
>>We checked the mscomm32.ocx and it seems to be nice because it is event driven but the event firing stops when you do a preview of a report to the screen or a "wait window" or who knows what else... On the other hand the Commtools library is not event driven and so you must continuously fire a method that reads the port in a do while loop. That is also not attractive.
>>Anybody has more experience with these tools?
>>
>>Thanks,
>>
>>
>>Koos Veel.
>
>Are you using the new CommTools ActiveX for VFP or the old CommTools Library for FP?

We use the new ActiveX control. But we already found that a do while loop is not neccessary. You can do it very good with a timer, which soklved our problem. In fact you can do it with the mscomm32.ocx also with a timer.

Koos.
Previous
Reply
Map
View

Click here to load this message in the networking platform