- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I want to know how I can come back to my dialog box after running an executable program. When my program is finished all windows close but I just want to return to my dialog box to quit the program with the exit button and not when the calcul is finished. I use the instruction 'call exit()' because it is the only i found to exit correctly the executable program.
I'm working with MVS 6.6 in a fortran windows application.
Thanks for your answer.
I'm working with MVS 6.6 in a fortran windows application.
Thanks for your answer.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How are you executing the external program? If you run it with SYSTEM from within the dialog proc routine, it should work fine (I think), and "call exit" is probably the cleanest way to get a status back from the external program (why did the standards committee throw that away?). If you're running it with CreateProcess, I suspect you have not chosen the right options.
Bruce

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page