i am new to programming and need to output from the serial port of my computer. i have created a window and need to output char 'G' down the serial port. any clues?
There is an activeX that is perfect:
it is called MSComm 6 (something like microsoft communication ...6).
You can put it in a dialog, set all the properties, and use a function called SetOutput to send...
Now I don't have the MSDN available, but if you can't solve the problem write so, and I'll be more specific.
If you don't like to use activeX, then you can also try WriteFile function. But before you do so, make sure you use OpenFile function to open the communication port. You can browse the online msdn for more information on the two functions.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.