General information
Category:
COM/DCOM and OLE Automation
Fox is single threaded so you may have problems depending on your situation. MSComm will store data in its buffers so you could do some type of polling to handle each comm port separate. Or, you could create a com server and have one com server for each part. That would mean having 6 instances of VFP running at the same time.
>I am working on a solution to accept data from multipe comm ports.I have an executable that has one form. A client program starts that remote server and adds containers, one for every port. I am 'listening' to a port using MScomm activex control. I can I have up to 6 ports/containers running in the same time. I have scanners attached to these com ports. It is very possible that all 6 scanners scan in the same time. Each container uses same form's code to process the scan. That means that potentially multiple containers will call same form's method in the same time. Do I have a problem here? How Fox handles such situation?
>
>Thanks for any idea.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only