Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange problem
Message
De
22/07/1999 11:35:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00244749
Message ID:
00244766
Vues:
20
>>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform