>Ed,
>
>>
>>You might want to take a look at the STARTUPINFO structure in detail, there's a lot of neat stuff you can do with it.
>
>I keep forgetting about the MSDN Library. I went in there and found what looks to be all of the information that I need as far as the Flags and the StartupInfo structure. You should put those links in your class for people like me who refuse to read the book :-)>>> Or go to the library to even see if a book exists .
>
>>
>>I'm the author on API_APPRUN who's been too lazy to document it other than comments in the code...
>
>I realized that as soon as I clicked on Send. I got confused as to whom I was talking with both of us called Ed I didn't think that I was talking to myself so I thought it might have been Dragan.
>
>Thanks again for the class. I'm going to demo it at the next Visual FoxPro SIG of HAL-PC (Houston Area League - PC Users Group). I'll be sure to tell them about the StartupInfo stuff in MSDN so that you won't be bugged too much by a bunch of yahoo Texans asking questions ;-)>>>
>
OK, thanks! I'm going to release an updated version sometime later this summer that makes use of my CLSHEAP library; it'll permit access to some of the CreateProcess() features that are inconvenient to implement without something to handle allocating buffers outside of VFP's memory space (anything that you need a pointer to within a structure needs to be allocated so that VFP's memory management won't shift it around.) It'll also provide a kinder, gentler way of shutting down a running WinApp via SendMessage(); I have to add code to find the current hWnd of the process it starts from the ProcessID.