Well I'm on my last leg. I've been trying for months to get my C++ program using CreateProcess to open a Dos program and let it use the COm ports. Well nothing works as they should. I have been told that spawnlp works fine with a Dos program and the com ports. I don't have much experenice on this and would like someone to help me with some code? What I need is when my C++ program calls the spawnlp, it should open the DOs program and have nothing to do with the parent "C++" program. Once I close the DOs program it should go back to windows. The OS I use is winodws 95\98.
// The .exe path
The Dos program is setup to "close on exit".