Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Win32_ProcessStartup
Message
De
22/11/2002 09:06:03
 
 
À
21/11/2002 16:40:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00724194
Message ID:
00725724
Vues:
17
>In my experienced, I never had trouble with CreateProcess. Just be careful if you set "No Window" in Startup_Info, your process must quit it's process correctly without user intervention, or else you have to kill it with Ctrl-Alt-Del or programmaticaly.
>
>I'm not really sure what you mean with "pass data". Can you just pass it as a string (by refference) in a parameter ?

No, you need to use a mechanism to marshall the memvar across a process boundary in both directions; both to pass the inbound parameter value not as a value, but as a shared memory reference, and again to return any alterations through shared memory. The simplest mechanism for such direct transfers is memory-mapped file I/O.
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform