>Here's the code:
>
>
>loProcPac = CreateObj('API_AppRun',cPlace+'\packdbc.bat',cPlace,'MIN')
>loProcPac.LaunchAppandWait()
>
>
>This batch file runs a cmdline EXE to compress some stuff.
>When I run this from inside NT, it works OK. But running it inside 95, the OS belches "cannot run program in DOS mode". Is there a parameter I missed to make sure '95 does this as a Win32 app?
In a Win9x batch file, you need to fire WinApps with a START command line; IOW, the line in the batch should read:
START MyWinApp.EXE
and whatever else goes on the command line