Guest_imported
New member
- Jan 1, 1970
- 0
I have been asked to write a piece of software as a starting block for a communications device emulator.
I was told to use Microsoft Visual C++ to write an application that took in text in and edit box and "on the click of a button" wrote the text to com port 1 and read it back in from com port 2 (ports connected on PC by a serial cable) and displayed the read in text in a second edit box.
Sounds easy but I am at breaking point with it.
Having spent hours in the MSDN pages I now have a code that compiles but does nothing.
I have just moved from working in a UNIX very non-visual environment and am very much at sea with this environment.
I have documentation on CreatFile, WriteFile and ReadFile up to my eyes...can anybody please show me how to perform this task simply ?????!!! *(before I fall out of love with C++ ???!!!)
I was told to use Microsoft Visual C++ to write an application that took in text in and edit box and "on the click of a button" wrote the text to com port 1 and read it back in from com port 2 (ports connected on PC by a serial cable) and displayed the read in text in a second edit box.
Sounds easy but I am at breaking point with it.
Having spent hours in the MSDN pages I now have a code that compiles but does nothing.
I have just moved from working in a UNIX very non-visual environment and am very much at sea with this environment.
I have documentation on CreatFile, WriteFile and ReadFile up to my eyes...can anybody please show me how to perform this task simply ?????!!! *(before I fall out of love with C++ ???!!!)