I would like to call pcplus4.8, automatically run a script that transfers files, and return to the calling .exe when finished. The calling .exe is a DOS assembler program. How does the return from pcplus to the calling .exe work?
The problem I see you'll have is getting Procomm to close without any user interaction although I think I've seen a thread or two here dealing with that.
If you want the EXE to wait until Procomm is done I can think of two strategies:
1. Initiate a DDE link and close the DDE link in Procomm cleanup at end of Procomm script. Or use Excel as an intermediary with Excel using Procomm as a DDE server and your EXE using Excel as a server with a DDEadvise type of access.
2. Use a text file or INI file to signal to your EXE that procomm has finished.
IF you use a text file you might have access conflict between the Procomm script and your EXE routine checking the file depending on the method you use to open the text file or INI in the EXE.
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.