On Fri, 21 Jun 2002, Alan B. Pearce wrote: >>On DOS/W32 the easiest wrapper is a batch file >>with a ERRORLEVEL conditional goto after the >>test program to jump aruond the application to >>be run if the test failed. >>On NT you would use shell scripting I think. > >I do not think this will work as it sounds like the app is being started as >a service, and not waiting for someone to login. The item that you start as a service can be any program. Like the wrapper for example. >If it is being started as a service, I think there is a way to determine the >order of starting, but have never gone digging into this. It may be >necessary to have a time delay or retry built into the app as others >suggest, as it sounds like you have a race condition occurring between the >app and the drivers it relies on. > >Another solution may be to have the app start at a real low priority level, >and retry on the dependencies, and then once the link is made push its own >priority level up to something suitable - just a thought, again not >something I have tried. It is presumed that source access is not available so something external needs to be fixed. Peter -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads