Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling an exe from a VFP application
Message
De
08/08/2006 11:08:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01143618
Message ID:
01143789
Vues:
8
>>I'm calling an exe by using the following code.
>>
>>CreateProcess(0, File2Run, 0, 0, 1, ;
>> NORMAL_PRIORITY_CLASS, 0, 0, @start, @process_info)
>>
>>The exe (File2Run) uses MS Internet Transfer Control to do a https communication.
>>
>>The exe can be launched and all the other functions in the exe work fine except https connection. If I run the exe directly from Windows, the https communication works fine. Why it doesn't work with CreateProcess?
>>
>>Thanks for any help.
>
>Does it work using run/n option (just for the test)? You may want to try LaunchAppAndWait code from the late Ed Rauh. That's what we're using here to run external processes...

It is basically the same result when using run /n. https with MS Internet Transfer Control does not work. What is LaunchAppAndWait code? Where can I find it? Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform