07-25-2005, 03:40 PM
typelib MsComm32 "C:\WINDOWS\system32\MSCOMM32.OCX"
MsComm32.MSComm c._create
c.CommPort=2
c.Settings = "9600,N,8,1"
c.PortOpen= 1
out c.PortOpen
I'm not real sure I'm doing this right. I need to send and receive serial data. c.PortOpen expects True or False. How do create a True in QM, also what do I need to create to handle the OnComm event? I could just poll for data. Thanks.
Matt
Matt B