>>Hi folks ---
>>
>>I have a baffling situation. I have to call a little DOS EXE program that was written in Borland Turbo C some years ago. This program has a PIF file that doesn't look unusual but the behavior when I call this program varies. I am running the PIF, not the EXE:
>>
>>Run from DOS: Works unexpectedly
>>Run from Win95 Run: Works as advertised.
>>Run from VFP RUN: Works unexpectedly.
>>
>>In essence, if I don't call it using the Win95 Run command, it don't fly. Any suggestions on how to get this running from VFP?
>>
>>TIA.
>
>Hiya Gonz,
>
>Try using ShellExecute() on the PIF file. My File Runner program has the declaration for it. I'd just use the API call itself. In other words, you don't need the rest of the code there. Windows knows what to do with the PIF file.
>
>You might also want to look at Ed Rauh's APP_RUN (I think that's the title) program.
>
>Just one question, what do you mean by "Works unexpectedly"? What's different?
It shouldn't work but unexpectedly works :)
PS: Still got no boxes :(
Cetin