If you cannot tell if your application is running via win_exists I assume you have some kind of backround app/process? If so could you not check the task manager for running applications/processes? Altenatively you could use the pslist utility from the pstools suite from sysinternals http://www.sysinternals.com/ntw2k/fr.../pstools.shtml
I think that there is a winapi function that tells if an app is running. Yo=
u can also create a function to check task manager. If you check the archiv=
es or Mercury knowledge base, you can find a solution.
User Steve Mathisen (firstname.lastname@example.org) posted:
It would seem to me that the better option would be to check to see if it is
running and then shutting it down. Then you can re-start it as a normal part
of beginning a test.
Steve Mathisen <"}}}}>< SCMathisen@Hotmail.com
"We can stand affliction better than we can prosperity, for
in prosperity we forget God."
... Dwight Lyman Moody (1837-1899)
"The course of this conflict is not known, yet its outcome is certain.
Freedom and fear, justice and cruelty, have always been at war,
and we know that God is not neutral between them."
... Pres. George W. Bush
Quality is the result of a carefully constructed cultural environment. It has to be the fabric of the organization, not part of the fabric.