| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi all, Can HBCOMM.lib work under MT environment to control two or more COM port ? Thanks |
|
#2
| |||
| |||
| hi > > Can HBCOMM.lib work under MT environment to control two or more COM port ? yes but you need mutexes to use the port functions Regards Luiz |
|
#3
| |||
| |||
| how about using 2 threads for 2 different com port ? "Luiz Lafael" <luiz@xharbour.com.br> 撰寫於郵件新聞:g7mrsg$gkt$2@aioe.org... > hi >> >> Can HBCOMM.lib work under MT environment to control two or more COM port >> ? > > yes > but you need mutexes to use the port functions > > Regards > Luiz > > > |
|
#4
| |||
| |||
| > how about using 2 threads for 2 different com port ? no problem but you need to protext with mutexes the port acess on each thread Regards Luiz |
|
#5
| |||
| |||
| i have no idea on mutexes function with xharbour, can i just care not to use same com port from each thread ? Thanks "luiz Rafael Culik Guimaraes" <luiz@xharbour.com.br> 撰寫於郵件新聞:g7ph2h$irs$1@aioe.org... > >> how about using 2 threads for 2 different com port ? > > no problem > but you need to protext with mutexes the port acess on each thread > > Regards > Luiz > > |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.