I am running embedded XP on a Pentium Windows computer. After moving from Windows 98 to XP all serial comm from the serial port fails. WriteFile sets the correct number of characters written, but no output. I can remotely debug my program on the pentium machine with my PC, and WriteFile reports the correct number of chracters send, but nothing comes from the serial port. I have tried a NULL modem cable and a straight cable connection while running hyper-terminal on both machines with no luck at all. What are the issues in migrating serial comm from Windows 98 to XP? What do you think I should try to fix my problem? After 2 days I'm out of guesses.
Also, VC++ WriteFile returns a true, non-zero value.
0
royonlanierAuthor Commented:
Also, I tried type com.ini > com1 that returns without error, but no data comes from any of the embedded computer's serial ports to the PC. The same NULL modem cable and the same command works when I replace the embedded computer with a notebook.
it is looking like a problem with BIOS setup of your embedded,
i have seen such a problem with DLOG computers
check BIOS setup, may be you think your port (port you connect a cable) is COM1 and really it is another port.
so you write to one port, and cable is connected to another one
There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.