Need help on using C++ programming on serial port
I am working on a project which requires to send and recieve data from the serial port COM1. I tried various ways but to no vain...
I tried funcitons like bioscom(), inport(), outport() to set the status, read data and send data. When I tried compling, it gives an error saying undefine error to these functions.
Could someone guide me to my destiny...
Could someone show me where to get the functions for the serial communications..??
Thanks a million!
Searched but maybe don't quite understand..
Yup i had searched the google with lots of combinations...
The website that D3t posted, i had visited.
The vc1.h header include in the program was not found on my directory and was wondering what its use for.
Also found out that there maybe a need to use WIN32 API, searched the web couldn't understand what was WIN32 API...
Is it a programmming language or some functions. If its functions what header does it needs...
I had spent sometime going through this board before i post the question. Entered 'serial' to search for postings relating to serial for some results, but they used the functions besides the inport(), outport() they use something called createFile() to open the port. I tried using that but couldn't complie(think it needs a header)
Therefore i need to have some guidance on that!
Thanks for the Help :) D3T and Hammer :):)