Printing reports at night with a 16-bit application (QUEST) requires a single instance, therefore I refer to George's MUTEX class.
There are many reports to be generated but QUEST can run only one-at-a-time and I must know when the previous QUEST has finished, referring to Ed's Run-App-and-Wait prg.
I want to combine these two great ideas together!
Run Quest Print, Wait, After Quest Print spooled start NEXT QUEST.
I can't use a timer, end up with dead time...
IDEAL would be
=LaunchAppAndWait(cCmdLineOut, "C:\Gupta\", "HIDE")
but the 'handle' is a number, ((that is consistent))
WHICH is not recognized as a Screen title (as dictated in the MUTEX)
The command line runs an instance of QUEST
I do not know nor can I seem to assign handle/title for property testing.
Any help would be great.
Edgar L. Bolton, B.S. B.B.A.