Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running exe's
Message
From
08/07/1999 19:32:38
 
 
To
08/07/1999 19:11:48
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00239092
Message ID:
00239182
Views:
9
>>>>Launching a WinApp, no, but you'd have to launch a VDM when running a DOS App using the /N. Take a look at what /N is doing; it launches a Windows app without waiting. There's no need for a DOS session to be fired. REGEDIT in a WinAPP, not a DOS program.
>>>>
>>>>If you don't specify /N, and no .PIF is found matching a command issued without a file extension, a DOS session is started based on the FOXRUN.PIF, and the command line is run through the DOS command line. This allows you to run a .BAT file where multiple programs are being run; VFP monitors the state of the DOS VDM it watches to recognize when it's finished.
>>>
>>>The docs don't explain it as well as you do. You're one of the best sources on the UT. I was just taking the opportunity to pick your brain. :)
>>>
>>
>>Thanks! Another truly wonderful source of information on VFP6 is Hacker's Guide to VFP6, available from Hentzenwerkes (they advertise here on UT.) It's a great reference, made even better by the book in a compiled .CHM file that you can keep on-line on your system , so help is literally just a click away. Once you buy the book, you can download the electronic copy, and if there are typos, or stuff gets added (hint to Hentzenwerkes: How about an SP3 update?) it'll be there for you when it's released.
>
>I've got that too.
>VDM = virtual dos machine ? I don't see anything about VFP monitoring the state of the VDM. How did you find about that? :)
>

Debugging COM servers written in another language that had problems when the VFP RUN command fired up helped pin down the details, especially when trying to figure out what some of the problems were when a WinApp got launched by a .BAT file which terminated before the WinApp finished running, as far as knowing if everything had completed.

There's a strong implication based on the use of .PIF files, which only control non-WinApps generally, and the direct support of DOS programs, which need a VDM to run in when launched using any of the Win32 APIs for doing this like CreateProcess() and ShellExecute().
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform