Two questions.
1) SDI
I have a PBv12.1 exe complete with one DLL called INVOICING.
There is only one window, of type MAIN.
The goal was for this to be an SDI application, and maybe I did that ???? but I can find no documentation on how to create an SDI application. Yes, I saw the blurb about the MDI/SDI option when using the Application Template Wizard in the HELP, but I could not see that option in the Wizard when running it.
Did I create an SDI application?
If so, then why does it terminate after a few seconds when called via the RUN command (see #2 below)?
2) Runtime behavior
I have my major app in PB2019R3, which calls the Invoicing exe with a RUN command:
// Create the command to be executed: EXE and string parameter; ls_title = name of calling window
ls_cmd = "C:\APPS12\invoicing\cabs_invoicing.exe " + ls_title
// Actually start the INVOICING process....
ll_ret = run (ls_cmd)
When I run the Invoicing app through the PBv12.1 IDE, the window opens and STAYS open. There is no activity coded into the window yet; and I expect the window to stay open
When I call Invoicing using the RUN command, the window opens, remains open for a few seconds, then exits!
Why is the window closing in this situation?